
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
- How to reduce DB Reads?
I just noticed that I hit the 500k db reads limit on my very small next js app with the most data being present in one collection having around 50 documents. ...
- Getting issue while migrating from Self ...
i try to migrating my project but when do this error come and dont allow to crate that migration
- Fail to receive the verification email a...
I added my email address to prevent it from showing "appwrite," but now I'm not receiving emails for verification or password resets. The function appears to be...
