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
- Failed to receive appwrite reset passwor...
Hey there, I forgot my password for my appwrite account but when i use forgot password, i dont get an email to reset the account but when i try to create a new ...
- Opening Project I get "500 Internal Erro...
Opening Project I get "500 Internal Error" added what i see on the page and in dev console
- Envvar editor var count mismatch
It shows i got 30 vars, but i can only count 22 + 3 secret. It's very confusing. Can't figure if it is hiding some or just counting wrong.