Hi All,
I concur.
My Java based middleware (using the monday.com API) is now failing when assigning phone columns, using established code.
I have simplified the issue using monday.com.
mutation {
create_item(board_id: board_no_here, item_name: “TEST”,
column_values: “{"site_telephone0":"08719762819 GB"}”) {
id
}
}
yields:
{
“error_code”: “ColumnValueException”,
“status_code”: 200,
“error_message”: “invalid value, please check our API documentation for the correct data structure for this column. https://api.developer.monday.com/docs/change-column-values”,
“error_data”: {
“column_value”: “{"phone"=>"+08719762819", "countryShortName"=>"GB"}”,
“column_type”: “PhoneColumn”
}
}
Sending the same in JSON form:
mutation {
create_item(board_id: board_no_here, item_name: “TEST #2”,
column_values: “{"phone" : {"site_telephone0" : "08719762819", "countryShortName" : "GB"}}”) {
id
}
}
Returns:
{
“data”: {
“create_item”: {
“id”: “xxxxxxx”
}
},
“account_id”: xxxxxxx
}
But this does NOT physically assign to column. The column remains set to 1 (123) 123 4567.
Please note that my middleware uses simple text assignment.