Lately, I have a persistent problem caused when I try to upload data to a Monday Board via the GraphQL API.
I know a similar problem when reading a board’s content, and using the “limit” param to overcome it. However, it happens not for reading content, but writing to the board.
When I try to render a json response as I used to do for the past months, I receive an HTML snippet with the following strings:
"cf-error-details cf-error-504">
<h1>Gateway time-out</h1>
<p>The web server reported a gateway time-out error.</p>
<ul>
<li>Ray ID: XXX </li>
<li>Your IP address: XXX </li>
I use the following query to upload data:
"mutation ($myItemName: String!, $columnVals: JSON!) { create_item (board_id:" + board_id + ", item_name:$myItemName, column_values:$columnVals, create_labels_if_missing: true) { id } }"
Update:
Likely I had to use group_id as well, as documented here:
https://api.developer.monday.com/docs/items-queries