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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...