I have an enum with two elements e.g. 'dave' and '1emily1', inserting a field with the enum set to 'dave' works as expected but inserting a field with '1emily1' as the enum paramter return an internal error 500.
I am doing this since I want to use id's as elements in my enum attribute.
Is this simply not possible? there is no problem adding an enum with integer values in the appwrite dashboard but the request to do it fails.
weird..what's your project id?
645c7e03796ad3f1640b
weird...im not seeing anything for that project id...
seems to work for me:
can you try removing the elements and adding them back?
I have removed and added the elements a couple of times, if I try to add a field with a attribute thats not in the enum elements I get like a error saying the paramter should be one of these (dave, 1emily1) or whatever it is, but doing it with the correct element doesn't throw this error
So it is recognizing that the element exists in the enum it just fails to add the field if the element contains numbers for some reason
and you're testing via the console?
have a react project setup and using the web sdk
does it work for you if you test with a element in the enum with like a project or field ID? it may be related to the length of the element
oh wait....did you create it with 1 element first and then added a longer one?
yes
that might be the problem
Recommended threads
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- > AppwriteException: The requested servi...
When trying to read or write from my database I get the following error: > AppwriteException: The requested service is disabled. You can enable the service from...
- Courtesy limit reset for non-profit migr...
Hi Team! I'm the architect for a 501(c)(3) non-profit project (Aaria's Blue Elephant) and we just hit our Free plan Database Read limit (currently at 164%). Th...