Date, checkbox and Tag change_column_value invalid value

Hi,

I have a problem with the graphQL API.

I tried to create a new item and change a column value, but it’s not working for Date, checkbox and tag (but working for status and text).

Here is my GraphQL code for tags:

mutation {
create_item (board_id: XXXX,
group_id: “New”,
item_name:“New”,
column_values:"{“tags”:[1669793, 1816394]}")
{
id
}
}

The error code is :
{
“error_code”: “ColumnValueException”,
“status_code”: 400,
“error_message”: “change_column_value invalid value”,
“error_data”: {
“column_value”: “[1669793, 1816394]”,
“column_type”: “TagsColumn”
}
}

Thanks a lot for any help !!

I think that you’ve missed a value type. Try this:

mutation {
create_item (board_id: XXXX,
group_id: “New”,
item_name:“New”,
column_values:"{“tags”:{“tag_ids”:[1669793, 1816394]}}")
{
id
}
}

1 Like