Hi. I’d appreciate any advice on the error response I am receiving from GraphQL. I am trying to update a date column using the mutation “change_simple_column_value”. Here is the error I am getting:
{{ "error_code": "ColumnValueException", "status_code": 200, "error_message": "invalid value, please check our API documentation for the correct data structure for this column. https://developer.monday.com/api-reference/docs/change-column-values", "error_data": { "column_value": "{\\"date\\"=>\\"\\\\\\"2019-06-03\\", \\"time\\"=>\\"13:25:00\\\\\\"\\"}", "column_type": "DateColumn" }}}
This is the string I am sending:
string dt = "2019-06-03 13:25:00";
string value = @"\\\\\\""" + dt + @"\\\\\\""";
string query = "{\\"query\\" : \\"mutation { change_simple_column_value(board_id: " + boardId + ", item_id: " + itemId + " , column_id: \\\\\\"" + columnId + "\\\\\\", value: \\\\\\"" + value + "\\\\\\") { id } }\\"}";
This works in the Monday.com “API Playground”. I think that there is an issue with the date format, but nothing I try works. Other column type updates work without issue. Thanks for any help!