Hi,
I seem to be struggling with a very simple query that I can’t seem to get to execute without giving me a 500 error.
Below using test query everything executes as normal. When I try to execute a query with quotation marks in the query and use the escape characters the app returns 500 error.
I have tried removing the escape characters and obviously that throws an error. Any insight as to what this issue could be would be much appreciated.
var testQuery = "{\\"query\\":\\" {boards(ids:5146042481) {id}}\\"}";
var fullQuery = "{\\"query\\":\\" {items_page_by_column_values(board_id: 5146042481 columns: [{column_id: \\"name\\", column_values: \\"DDNL05\\"}]) {cursor items{id}}} \\"}";
The below code does work in the API playground as well:
{
items_page_by_column_values(
board_id: 5146042481
columns: [{column_id: "name", column_values: "DDNL05"}]
) {
cursor
items {
id
}
}
}