Create_update mutation fails with status 500 since yesterday

I have an automation in production which creates items and updates them.
As of yesterday 2021-11-21 around 21:53, every create_update request is denied with status code 500.
There were no changes to the code, which leads me to wonder if this issue is on our end or Monday’s API.

code (python 3.9):

def update_monday_task(task_id, content) -> None:
    logging.info("Creating update for monday task %s", task_id)
    query_update = 'mutation { create_update (item_id: %s, body: "%s") {id}}' % (
        task_id,
        content,
    )
    requests.post(
        url=config.MONDAY_API_URL,
        json={"query": query_update},
        headers={"Authorization": config.MONDAY_API_TOKEN},
    ).raise_for_status()

The response’s json payload is {'error_message': 'Internal server error', 'status_code': 500}.
Item creation still works with no issues.
Can you please advise?

Thank you.

Hello @yuv-c ,

Welcome to the Community! I hope you like it here. :muscle:

Regarding your issue, our team has found the problem and deployed a fix yesterday so this should be working now for you.

Please do let us know if you encounter any more issues. We are here for you!

Cheers,
-Matias

1 Like

Thanks, I confirm that it’s fixed.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.