Skip to content
Back

Invalid document structure: missing required attribute... error

  • 0
  • Databases
  • React Native
thisnoaskac
2 Dec, 2024, 19:40

Hi, I'm getting this error.

When trying to create a chat, even on the appwrite site itself, this happens.

Or a message... seems like something wrong with string fields?

Project ID: 672a76f90006efc0fbee

TL;DR
Developers encountering "Invalid document structure" error. No recent changes to collection structures. Error occurs when creating chat/message, suspecting issue with string fields. Check database and collection IDs.
Steven
2 Dec, 2024, 19:41

When did this start happening? Did you make any changes to your collections recently?

thisnoaskac
2 Dec, 2024, 19:43

I believe yesterday or the day before. I haven't made any changes to the collections structure in the past 2 days I think.

Steven
2 Dec, 2024, 19:46

What database and collection IDs?

thisnoaskac
2 Dec, 2024, 19:48

database id: 672fb048001458368661 chats collection id: 674b6469000d968a0fb6 messages collection id: 674b67de00318c173564

Steven
2 Dec, 2024, 21:56

@Shmuel would you please look into this error?

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