Skip to main content

Attempting to call this in the API 🙂 {“query”:“mutation ($boardId: Int!, $columnVals: JSON!, $itemId: Int!) { change_multiple_column_values (board_id: xxxxxx, item_id: xxxxxx, column_values: {"nick_name":"test123"}) { id } }”}


I get the error

{“errors”:{“message”:“Parse error on "nick_name" (STRING) at n1, 154]”,“locations”:1{“line”:1,“column”:154}]}],“account_id”:xxxxxxx}


What am I doing wrong ?

Hello @danm and welcome to the community!


I hope you like it here 💪


You should encapsulate the column values inside quotes and escape the outer quotes:


{
change_multiple_column_values(board_id: xxxxxx, item_id: xxxxxx, column_values: "{\\"nick_name\\":\\"test123\\"}") {
id
}
}

Hope that helps 🙂


Cheers,

Matias


Reply