When I try to update a document in a Cloud project, I get a 204 on the OPTIONS call but a 500 on the PATCH. It started this morning. Project totes-poc-dev, database totes-poc-db, collection totes. It only seems to be happening for this collection in this project.
Summary
The user is experiencing a 500 error when updating a specific collection. Another user reached out for a solution, but the details were shared privately. The issue seems to be related to a cloud migration problem with the collection containing an enum. The Appwrite team fixed the issue on their side, but the technical details are unknown. Unfortunately, the solution was not shared in the thread.
Christy Jacob
Sep 21, 2023, 18:40
What are you trying to update in the patch request? And what error do you see? Just server error?
scott
Web Developer
Sep 21, 2023, 18:48
It happens when I update any attribute(s) on any document in that collection. It also happens when I try to create a new document.
scott
Web Developer
Sep 21, 2023, 18:49
It just a server error: AppwriteException: Server Error
Christy Jacob
Sep 21, 2023, 18:50
Can you share the JSON of the collection with me?
scott
Web Developer
Sep 21, 2023, 20:28
Sent via DM
scott
Web Developer
Sep 22, 2023, 13:55
[SOLVED] 500 Error when updating a specific collection
Drake
Sep 22, 2023, 14:05
Are you able to share the solution here?
scott
Web Developer
Sep 22, 2023, 16:00
@Christy Jacob helped me over DM. There was some cloud migration issue having to do with the collection containing an enum. It got fixed on the Appwrite team side, but I don't know the technical details.
Harsh
Sep 22, 2023, 18:06
Hey I am getting a similar issue, (Adding a document to a collection the contains enum and cand update any document) , can you share details of fixing the issue or guide me ? @Christy Jacob @Steven