
When I try to create a document without any data, I get this error:
{"message":"The document data is missing. Try again with document data populated","code":400,"type":"document_missing_data","version":"1.7.4"}
I'm confused as to why that is an error anyway.
To clarify: I am passing an empty object ({}
) as data, not omitting it
All attributes in this collection have default values.
I assume a workaround would be to just set one attribute (and I'll try that in a moment).
I just find this to be annoying, and a useless error message. Would make more sense if I omitted the data completely.
Is there something else I'm doing wrong?
Recommended threads
- deleteDocument shows The current user is...
my application is an ecomm app that list the products and i just want to add the delete functionality to delete the product the user has permission in appwrite...
- Getting “Internal Error 500” for all ser...
SDK error is “Access to this resource is block” - but the credentials and same script was working fine before (there’s been no changes my side). The Console sys...
- DATABASE ERROR
When I select NULL as the value and click update, it shows that the update is successful, but when I refresh it changes back to add-avatar. It seems that all fi...
