Back

Appwrite Error

  • 0
  • Web
Palaksh Chaturvedi
19 Jun, 2024, 07:49

AppwriteException: Invalid document structure: Attribute "imageUrl" has invalid format. Value must be a valid string and no longer than 2000 chars at Client.<anonymous> (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=ce255598:419:17) at Generator.next (<anonymous>) has anyone got the solution to this error

TL;DR
Developers are experiencing an error with Appwrite, specifically regarding the 'imageUrl' attribute. The issue seems to be related to the format of the 'imageUrl' attribute, as it must be a valid string not exceeding 2000 characters. Ensure that the 'imageUrl' is of type string within the specified limit.
darShan
19 Jun, 2024, 07:51

can you show some code? whats the type of imageUrl? I am assuming a string, what version of sdk, appwrite backend?

Palaksh Chaturvedi
19 Jun, 2024, 07:56
Palaksh Chaturvedi
19 Jun, 2024, 07:57

It is a url when I changed it to string an error occurred saying imageURl has an invalid type

Palaksh Chaturvedi
19 Jun, 2024, 07:59

This is the part in which it's showing error

darShan
19 Jun, 2024, 08:00

whats the type of fileUrl?

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