500 Internal Server Error when creating new board item via API

Hello, I’ve got a board that I’ve been populating via the API. This has been working without since the integration was built a few weeks ago. However, in the last 3 days I can no longer create items on this board. I’m not sure what’s happened, but now I am receiving a 500 error.

I am making a POST request to https://api.monday.com/v2 (Including bearer token)

With the following payload:

Query: 
mutation ($boardId: ID!, $itemName: String!, $columnValues: JSON!) { create_item(board_id: $boardId, item_name: $itemName, column_values: $columnValues) { id } }

GraphQL Variables: {
“boardId”: XXXXXXXX,
“itemName”: “Example Item Name”,
“columnValues”: {
        "status": "1",
        "status_1": "0",
        "email__1": {
            "email": "example@example.com",
            "text": "example@example.com"
        },
        "phone__1": {
            "phone": "+1234567890",
            "countryShortName": "US"
        },
        "dog__1": "Example Dog Interest",
        "link5__1": {
            "url": "https://abc123.org/pre-assessment/?id=12345",
            "text": "Pre-assessment"
        },
        "text1": "Discovery Source",
        "date1__1":{
            "date": "2024-08-17", 
            "time" : "18:00:00"
        }
}

The response I’m getting back is simply:

{
“status_code”: 500,
“error_message”: “Internal server error”,
“error_code”: “INTERNAL_SERVER_ERROR”
}

I have tried making this same request programmatically via my PHP code integration. Via Postman. And via the GraphQL “Playground” in the developer center within Monday.com. They all return the same results. Chat Support directed me here for help.

Any ideas? Like I said, this was working up until about 3 days ago. I’m not really sure what’s changed. If it was some sort of data-related issue I would expect the API to return an error in the response. But a 500 internal server error leads me to believe there may be a platform issue?

Chat should have suggested you open a ticket with this form this is the apps/api technical support form.

however, try changing the status columns to this format.

"status": {"index": "1"}

Your status columns are using a “simple” method vs the full object and the rest are using the full object. This is the only thing I see which might be causing it (maybe a change in how it processes the change objects occurred?)