I have this enum with these possible values: client, coach, manager and I added a new value: coach_manager. Updating the enum went fine but if I now try to create a document with this new coach_manager value I get an 500 error back from Appwrite.
When I delete the attribute and recreate it with coach_manager as a value I don't get a 500 error. This isn't a solution for me because data is removed when I delete the attribute.
Are you on cloud or self hosting?
The problem with adding a value is a known issue: https://github.com/appwrite/appwrite/issues/5595
Hm I did see that issue but didn't know it was the same. So if an enum with a bigger length already exists I should be able to extend the enum without any issues?
[SOLVED] 500 error after extending enum with a new value
Recommended threads
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...
- What Query's are valid for GetDocument?
Documentation shows that Queries are valid here, but doesn't explain which queries are valid. At first I presumed this to be a bug, but before creating a githu...
- Unauthorized Charge After Appwrite Pro F...
I was using Appwrite Pro credits worth $100, which were valid until November. During this period, I was exploring Appwrite's services. However, I recently notic...