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
- Couldnt not do appwrite push tables
Not sure why i am not able to create my tables
- Self-host migration from 1.8.X
Is it safe to now migrate from 1.7.4 to 1.8.X on my selfhost?
- DeploymentStatus enum value `canceled` m...
Hey, Sorry if it has been reported already, I found an issue using the Dart SDK where the `canceled` enum value is missing from `DeploymentStatus`. This causes...