We are ‘citizen developers’ and new to Monday. We created two simple python API calls this spring that were working perfectly to return a really small board - until a week (or so) ago. Now we’re trying to update and running into issues.
We got the call working for the simplest of our calls - the one where we don’t need mirrored column values, etc.
But implementing the fragments for the display_value for data from a mirrored board is problematic. We have tried a multitude of variations in different versions in both the developer and the regular API playgrounds.
Our current non-working version of the query looks like:
query
{
boards (ids: 4304082965) {
name
id
description
items_page {
items {
name
column_values {
… on MirrorValue {
display_value
}
}
}
}
}
}
}
And on this other playground site I get the following error:
{
“errors”: [
{
“message”: “Unexpected token ‘u’, "upstream r"… is not valid JSON”,
“stack”: “SyntaxError: Unexpected token ‘u’, "upstream r"… is not valid JSON”
}
]
}
There has to be something simple we’re doing wrong?
I’ve seen this sort of thing happen when you have a text editor that starts formatting text. Like in your query the ... has been replaced by a single ellipsis … character for the ... on MirrorValue fragment. Or other invisible characters (em space, en space, etc.) get in there (which may be the case) This kind of thing happens if you let MS Word come anywhere near code.
Also from the documentation, the samples have a copy button in them that appears if you mouse over the sample box. If you select and copy its possible to pick up stray invisible characters.
Thank you @codyfrisch and @Matias.Monday. We are starting to think it might be because, while we’re only planning on pulling in a few records at a time, the board itself includes a large number of mirrored columns, cast columns, connected boards, etc.
We did reach out to support last night and have started the process today.
Actually, @Matias.Monday, we haven’t heard back from anyone in support via email since we added authorization for them to login as me.
We did find the last example Dipro spent a few seconds covering in his presentation last week very helpful and are trying to work through implementing it now.