
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
- JSON and Object Support in Collection do...
I am working with Next.Js and Appwrite Cloud, I am relatively New to Appwrite but i have noticed there is no direct support of JSON and Object support in attrib...
- list() is very slow; eventually shows no...
When I use the web browser to view the collections in my database, the documents they contain are normally displayed within a few seconds. For a few days now, h...
- CSV Not Importing
We don’t seem to having any luck importing a simple .csv file. The import function acts like it’s working but no data imports or is shown in the collection The...
