We are using the monday API endpoint https://api.monday.com/v2 which is currently working fine without the breaking changes mentioned in new version 2023-10.
However, when I implement the changes required for 2023-10, the query works fine from the playground on the monday.com developer center, however produces an error when I attempt to run the same query from Postman or from my web application.
For example, one of the required changes is to use items_page for nesting group level items , whereas previously it was just items attribute under groups. But the error received when using items_page is as follows :
“errors”:
{
“message”: “Field ‘items_page’ doesn’t exist on type ‘Group’”,
“locations”: r
{
“line”: 15,
“column”: 7
}
],
“path”:
“query”,
“boards”,
“groups”,
“items_page”
],
“extensions”: {
“code”: “undefinedField”,
“typeName”: “Group”,
“fieldName”: “items_page”
}
}
],
The query request body being sent in the request is as follows :
query {
boards(ids: n414373342]) {
id
name
groups(ids: r“topics”]) {
title
id
items_page(limit: 500, query_params: {order_by: r{column_id: “name”}]}) {
cursor
items {
id
name
column_values(ids: >“date4”, “status27”, “status40”, “status727”, “text65”]) {
id
text
value
}
}
}
}
}
}
The above query works fine from the developer console playground , just not from an external application like Postman.
Prior to making these changes, the request body that is being used and still works fine from Postman is as follows :
query {
boards(ids:y414373342]) {
id
name
groups(ids:ltopics]) {
title
id
items {
id
name
column_values(ids:cdate4,status27,status40,status727,text65]) {
id
text
value
}
}
}
}
}
Is there a new endpoint besides https://api.monday.com/v2 that needs to be used to implement version 2023-10. If not, how do we implement these changes ?