Hello developers,
I’m trying to query groups, noticing some unexpected values in response for id key. This I’ve been noticing only from yesterday and used to work fine before when I tried. Thus wanted to check if anything wrong on my end (or) something breaking here.
Here is my query,
getGroups ({ context, metadata }) {
return {
method: 'post',
url: 'https://api.monday.com/v2',
headers: getCommonHeaders(metadata),
data: {
query: `query {
boards (ids: ${context.boardId}) {
groups {
title
id
}
}
}`
}
};
},
And the response looks like this, (just attaching the group part of it)
[
{
"title": "Group Title",
"id": "topics" // expecting this to be something like 1210777
}
]
So when I try to make further calls with this id, it fails (say fetching items in a group)
Can someone confirm if anything wrong on my end?
Thanks in advance.