I make a query:
{"query":"query request($limit:Int $page:Int) { boards(limit: $limit, page: $page) { id name columns {id title settings_str} groups { id title } }}","variables":{"limit":100,"page":1}}
I get a successful response. Among response data I have “groups” section. This section started exactly like this:
"groups":p{"id":"flexible_staffing_of_georgia","title":"Flexible Staffing of Georgia"}
Afterwards I try to create item. In query below I have replaced real data on “…”. In real case there placed correct data.
{"query":"mutation request($boardId:Int! $groupId:String $name:String $column_values:JSON) { create_item (board_id: $boardId, group_id: $groupId, item_name: $name, column_values: $column_values) { id } }","variables":{"boardId":...,"groupId":"flexible_staffing_of_georgia","name":"...","column_values":"{\\"...\\":1000}"}}
In the end I get response with 404 code which says:
{"error_code":"ResourceNotFoundException","status_code":404,"error_message":"Group not found","error_data":{"resource_type":"group","group_id":"flexible_staffing_of_georgia","board_id":...,"error_reason":"store.monday.automation.error.missing_group"}}
But the group exists. This is the same id I got in response of first query.
This is second time when I faced this issue today with different groups.
What am I doing wrong?