getting "document_invalid_structure" error even when i'm sending valid data
- 0
- Databases
- Web
- Cloud
the error message i'm getting says Invalid document structure: Unknown attribute: "chats", even tho i'm not sending any attribute named "chats". I'm facing this issue while updating a document. the screenshot shows the data i'm trying to send (under dataToPost
) to the db, also the error message i'm facing. I do have a collection named "chats", but that do not have any relation with the collection that i'm trying to work with here.
Appwrite: 14.0.1 NextJS: 14.0.4
i tried updating the values from the console directly. and it throws the same error there as well
Recommended threads
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Need Help with Google OAuth2 in Expo usi...
I'm learning React Native with Expo and trying to set up Google OAuth2 with Appwrite. I couldn't find any good docs or tutorials for this and my own attempt did...