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
- Query.search limitation
Since `string` is deprecated I used `varchar`, and now I cant use `Query.contains` , so I setup fulltext index and started using `Query.search` the issue is `Qu...
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Searching by attribute "name" requires a...
I have a table "products" with a few columns I'm trying to search by, but I get this error: ```json { "message": "Searching by attribute \"name\" requires a...