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
- No domain visible after creating functio...
Saw this in docs yet i have no domain (Pro): ``` Generated domains In the Appwrite Console's sidebar, click Functions. Under the Domains tab, you'll find the g...
- Confusion around Tables / TablesDB vs Da...
Hello everyone, I ran into quite a bit of confusion when trying to migrate a Function from Databases.createDocument() to the new Tables / Rows API and wanted t...
- Free plan Usage
I using a free plan with one organization. I have three projects but on the free plan I should be able to have 2 projects running But in my case only 1 out of ...