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
- 1:1 relationship doesn’t sync after re-a...
Hi, I’m trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...
- Upsert with setting permissions
Hi there, I am using self-hosted appwrite v1.7.4 and trying to use the bulk update stuff that was released with 1.7.x. Unfortunally I found that there is an ser...
- One to many 2 way, console UI not correc...
Hey, seems I'm facing the exactly same issue with this one: https://github.com/appwrite/appwrite/issues/6016 Since this Github issue stay open for so long, let ...