When:
I started having this problem yesterday (Oct 8, 2024 around 12PM EST). Additionally, Workdocs was down maybe a couple weeks ago and I had the same 500 error.
Problem:
When trying to update a workdoc block with updateDocBlock
or via a mutation, i.e.
mutation {
update_doc_block (block_id: "7f8c145-989f-48bb-b7f8-dc8f91690g42", content: "{\"alignment\":\"left\",\"direction\":\"ltr\",\"deltaFormat\":[{\"insert\":\"new block\"}]}") {
id
}
}
…I get a 500 error on this url:
PUT https://my-subdomain.monday.com/documents/blocks/57bf99e9-b0a6-4742-9a99-7f30f546e497/update_content
What Happens:
- I execute my code
- The text updates in the GUI
- An error message is displayed: “Oops, something went wrong. We couldn’t save your recent changes, please refresh.”
- I get a 500 error in my browser dev tools and part of the response is a “We are having technical difficulties page.”
- When I reload the page the changes made in 1. are not persisted.
Expected behavior:
Changes should persist when updating a doc block. My code that previously worked is now not working.
To Reproduce:
Run the workdoc quickstart.
I would share some screenshots, but for some reason image uploads aren’t working.