Only get erros back if any operation in batch request fails

Hello :raised_hands:

As I said in the title the issue is that I don’t get the data I requested from the operations that executed successfuly. I only get errors if at least one operation fails

I’m not sure if this is a mistake on my end since it’s the first time I’m working with graphQL

I’ve tried it in both the playground and in my codebase

Here’s my query

mutation {
  mutate1: change_multiple_column_values(
    item_id: 8152384251
    board_id: 8109281540
    column_values: "{\"name\": \"ASD\", \"status\": {\"index\": \"0\"}, \"date4\": {\"date\": \"2025-02-09\", \"time\": \"20:03:26\"} }"
  ) {
    id
    name
  }
    mutate2: change_multiple_column_values(
    item_id: 8152384251
    board_id: 8109281540
    column_values: "{\"name\": \"ASDASDASD\", \"status\": {\"index\": \"0\"}, \"date4\": {\"date\": \"2025-02-09\", \"time\": \"20:03:26\"} }"
  ) {
    id
    name
  }
  delete2: delete_item(item_id: "5242344") {
    id
  }
  delete3: delete_item(item_id: "5242344") {
    id
  }
}

Here’s the response I get

{
  "errors": [
    {
      "message": "Item not found",
      "locations": [
        {
          "line": 1,
          "column": 452
        }
      ],
      "path": [
        "delete2"
      ],
      "extensions": {
        "code": "InvalidItemIdException",
        "status_code": 200,
        "error_data": {
          "item_id": 5242344
        }
      }
    },
    {
      "message": "Item not found",
      "locations": [
        {
          "line": 1,
          "column": 492
        }
      ],
      "path": [
        "delete3"
      ],
      "extensions": {
        "code": "InvalidItemIdException",
        "status_code": 200,
        "error_data": {
          "item_id": 5242344
        }
      }
    }
  ],
  "status_code": 200,
  "error_data": {
    "item_id": 5242344
  },
  "error_code": "InvalidItemIdException",
  "error_message": "Item not found",
  "account_id": ...
}

Thanks for your time!

hey @LucasPennice

Bill here from monday.com :wave:

Apologies for the delay on this.

Would you be able to please fill this form adding as much information as possible to it (such as account ID, board IDs, item IDs, timestamps, etc.) so that our team can take a look into it?

Cheers,
Bill

Hey Bill

No worries on the delay

I’ll fill that out, if there’s more information you need please let me know

All the best,
Lucas

I believe currently this is a limitation of the API. I agree you should get partial results back from the API if there are errors. That said - it wasn’t until the last 4-5 months that we even had all errors in proper graphql format.

So I expect it will be a while until partial data is returned.

Thanks for the quick response :raising_hands:

Got it, will find a workaround until then

I am not official monday.com though. Just too much experience with the API and knowing what state things are in.

Thanks for helping out even though you are not from the support team :raising_hands:

Really appreciate it