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
- Seed db
hello there... is this correct way to seed appwrite
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...