Error 500 for all queries

Since 11:00 UTC+0, all API queries have been failing with a 500 “Internal Server Error”.
These queries were working fine before.
Everything appears normal on https://status.monday.com/.
Do you have any idea what might be causing this?

Hi @BPL,

Welcome to the community!

The API team is currently investigating - we will keep you updated!

Best,
Rachel

hi rachel can you read my message to the @moderators team?

Hi Rachel,

I figured it out yesterday!
It turns out you changed the way variables must be encoded in the HTTP request. Here’s an example:

Before the update:

{
  "query": "query GetBoardsGroups($boardsIds: [ID!]) { boards(ids: $boardsIds) { groups { id title } } }",
  "variables": "{ \"boardsIds\": [ 42] }"
}

After the update:

{
  "query": "query GetBoardsGroups($boardsIds: [ID!]) { boards(ids: $boardsIds) { groups { id title } } }",
  "variables": { "boardsIds": [ 42] }
}

The strange thing is that only HTTP requests to https://api.monday.com/v2/ were affected. Requests to the https://api.monday.com/v2/file/ endpoint, used for file updates, still worked fine.

1 Like