Back

enum Invalid document structure charactors length error

  • 0
  • Databases
  • GraphQL
  • Self Hosted
Faisal7
8 Feb, 2025, 22:45

i am getting this error when adding up updating an enum value. I have for example enum attribute which has some enums and also this enum internationale_küche, which is 20 charactors. i am getting the following error in Appwrite Invalid document structure: Attribute enum has invalid format. Value must be a valid string and no longer than 18 chars (400) what is the solution for that? Can i modify the length of the enum charactor somehow?

TL;DR
Developers getting error when updating an enum value due to character length limit. Error message says the enum value is too long. Solution: Modify enum value to be 18 characters or less.
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