mutation {
change_column_value(item_id:110125607, column_id:"status",board_id:110123920,value:"{\"label\" : \"Done\"}") {
name
column_values{
id
value
}
}
}
I miss the simplicity of XML, JSON made by and for hipsters working only with JavaScript. Lots of people actively dislike Javascript and JSON.
The Syntax is a Nightmare why make it this hard to enclose a Value Pair.
How long until V1 is turned off will happily abandon V2 if you will support V1 for at least a year.
Anything that parses generates a 500 Server Error at Best you get a 400 error invalid value or it won’t even parse. Has anyone got a truly working complete line of text that can be cut n pasted into Insomnia Client and worked.
mutation {
change_column_value(item_id: 272273710, column_id: "email", board_id: 272273672, value: "{email: \"fake@alias.com\", \"\text:\": \"my email\"}") {
name
column_values {
id
value
}
}
}
Looks like the JSON string you were sending in the value parameter was missing some escaped quotation marks and contained “text:” instead of “text”:
Try this and let me know if it works instead:
mutation {
change_column_value(item_id: 162169283, column_id: "email", board_id: 162169280,
value: "{\"email\": \"fake@alias.com\", \"text\": \"my email\"}") {
name
column_values {
id
value
}
}
}
I definitely hear you in terms of adding those escape characters and trying to keep your JSON valid. What are you using to make the requests in your application? Happy to help you find a library that will help turn the JSON into strings and vice versa.