Back

[SOLVED] 500 Error when updating a specific collection

  • 0
  • Databases
  • Web
  • Cloud
scott
21 Sep, 2023, 18:16

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.

TL;DR
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
21 Sep, 2023, 18:40

What are you trying to update in the patch request? And what error do you see? Just server error?

scott
21 Sep, 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
21 Sep, 2023, 18:49

It just a server error: AppwriteException: Server Error

Christy Jacob
21 Sep, 2023, 18:50

Can you share the JSON of the collection with me?

scott
21 Sep, 2023, 20:28

Sent via DM

scott
22 Sep, 2023, 13:55

[SOLVED] 500 Error when updating a specific collection

Drake
22 Sep, 2023, 14:05

Are you able to share the solution here?

scott
22 Sep, 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
22 Sep, 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

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more