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":[{"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.
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.
I’ve just faced the same issue with another group.
Items for group I had troubles before (flexible_staffing_of_georgia), this time were created successfully
Interesting- I’m not aware of a way to customize the Group’s unique ID. For me they get generated by Monday upon creation in the format of ‘new_group12345’.
When you run this query against your board id, does it really show as “flexible_staffing_of_georgia”?
It’s for sure I use the same ID. This error appears from time to time. I can’t reproduce it when I want, but I observed it during development. There are couple of point which may help you with investigation:
During development I was using free account;
Board which I upload contains of few hundreds of groups each of them contains ~15 - ~20 items;
Creation of each group and each item I did in separate request. I.e. If I have to create group with 20 items I will do 21 request to Monday.
I think if you create similar scenario, you will face this error.
Hi @jsararas
You are correct about auto generation of IDs. I don’t know how it was earlier, but now it seems IDs for groups are generated based on Name you pass while create group.