I am struggling to understand the error here. Using make’s Monday.com GraphQL module I am getting a parse error when populating the Ids array with data from a previous module, even though the input data looks identical from that of hand entering the 2 user ID’s
This is the error thrown
The operation failed with an error. [200] [{“message”:“Parse error on "\xC2" (error) at [2, 27]”,“locations”:[{“line”:2,“column”:27}]}]
This is what the query looks like (where 27.value is just a map function grabbing the users ID’s from a people column). If I manually enter the two ID’s in a comma separated list it runs fine, which tells me it is something with the data from the text module, but I just don’t see any difference in input to the module (it all looks correct to me)
I have also NOT copied and pasted from the api playground as that is known to cause parse issues with Make.com.
query {
users (ids: [{{27.value}}]) {
name
email
}
}
This is what the processed input to the module looked like (I can’t see anything wrong with it)
{
“method”: “POST”,
“queryBody”: “query {\n users (ids: [14550468, 15656192]) {\n name\n email\n }\n}”,
“variables”: ,
“operationName”: null,
“variablesDataSource”: “array”
}
Any help would be appreciated!