Back

Not able to create document with array of object

  • 0
  • Web
  • Cloud
Examinor
8 Mar, 2024, 07:34

I am not able to create a document on appwrite I have an array of object with inside the object some data are text and some are date . In appwrite cloud I have set the attribute as string but I have some string and some date inside the object . Please help me.

TL;DR
Developers having trouble creating a document with an array of objects in Appwrite. They set the attributes as strings, but some data are dates. The solution is to ensure the attributes are set correctly based on the data (string for text, date for dates).
ideclon
8 Mar, 2024, 07:58

I’m not quite clear on the structure of the data - are you able to provide us with an example?

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