Zapier No query string was present

I am trying to use items_by_column_values to search a board for a specific email. When I run the query through Postman a JSON I receivve the correct results. The JSON for the query is:

{"query": "{items_by_column_values (board_id: 312587506, column_id: \"email\",column_value: \"\") {id name}}"}

Doing the same in Zapier always returns the “No query string was present” as the result. Here is the JSON I am passing from Zapier. It doesn’t seem to matter how I pass the query it always fails.

 {"query": "{items_by_column_values (board_id: "312587506", column_id: "email",column_value: "") {id name}}"}

 {"query": "{items_by_column_values (board_id: "\"312587506\"", column_id: "\"email\"",column_value: "\"\"") {id name}}"}

{"query": "{items_by_column_values (board_id: "312587506", column_id: "email",column_value: "") {id name}}"}

I can’t seem to properly escape the double-quotes in zapier (Javascript). Please advise what I am doing wrong.

Hello, @damercer6372!
Have you seen this link. Javascript looks pretty simple and seems there is no need to add double-quotes in the query itself.

1 Like

Hey @damercer6372,
I suggest you to take a look at my reply to another thread at Problems with java post response.
I guess you need to slightly change your queries to prepend query command to the string.

1 Like

Hey @damercer6372 :wave:

Have you been able to get this to work using the suggestions provided by the awesome @rob and @TMNXT-Dev? :slight_smile: Let us know!