Back

Invalid document structure: missing required attribute

  • 0
  • Databases
  • Cloud
Said H.
15 Jan, 2025, 03:37

Hi,

For some reasons, I cannot edit records in my table. It worked fine.

Invalid document structure: Unknown attribute: "learning"

I verified that we are passing a "learning" attribute during the update (screenshot attached). However, the table does not have any learning attribute. Further, I used list attribute query to confirm that there is no learning attribute in this table. Please help.

TL;DR
Issue: Cannot edit records in table due to an "Invalid document structure" error indicating a missing required attribute "learning". Solution: Despite passing a "learning" attribute during update, the table does not have this attribute as confirmed by a list attribute query. Check and ensure the correct attributes are being used for updating records.
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