Hi im getting this error while creating a new document, it says that it is missing required parameter "data", but i dont know what data stands for.
I attach photos of the error, my attributes page and how im creating the document
take a look at the function signature for createDocument() compared to how you're calling it. 4 parameters are required:
- databaseId
- collectionId
- documentId
- data
https://appwrite.io/docs/client/databases?sdk=web-default#databasesCreateDocument
thanks i figured out that i was missing the ID for the document
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...