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.