TristenS
(Tristen S)
June 10, 2022, 3:14pm
1
Hello,
Not sure what I’m doing wrong here. I see no red lines in the API Playground when sending this mutation but I’m getting a 500 response every time.
mutation { create_item (board_id: 2782361481, group_id: "new_group", item_name: "Test", column_values: {text7 : "test-data"} ) { id }}
Results in:
{
"error_message": "Internal server error",
"status_code": 500
}
This query successfully adds a new item when I exclude the column_values. Any idea what I’m doing wrong?
hi @TristenS
Welcome to the community. The column_values parameter needs to me a stringified JSON where you need to escape the internal double quote characters with a \
Something like this:
mutation { create_item (board_id: 2782361481, group_id: "new_group", item_name: "Test", column_values: "{\"text7\" : \"test-data\"}" ) { id }}
2 Likes
system
(system)
Closed
June 17, 2022, 3:57pm
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.