TypeScript
at Databases.<anonymous> (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=dacaa303:2148:15)
at Generator.next (<anonymous>)
at http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=dacaa303:503:67
at new Promise (<anonymous>)
at __awaiter (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=dacaa303:485:10)
at Databases.listDocuments (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=dacaa303:2143:12)
at getCurrentUser (http://localhost:5173/src/lib/appwrite/api.ts:61:41)
at async checkAuthUser (http://localhost:5173/src/context/AuthContext.tsx:51:30)
api.ts:160 AppwriteException: Missing required parameter: "collectionId"
at Databases.<anonymous> (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=dacaa303:2183:15)
at Generator.next (<anonymous>)
at http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=dacaa303:503:67
at new Promise (<anonymous>)
at __awaiter (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=dacaa303:485:10)
at Databases.createDocument (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=dacaa303:2178:12)
at createPost (http://localhost:5173/src/lib/appwrite/api.ts:93:37)```
occurs when I try to user upload content
TL;DR
The user is experiencing an error message that says "Missing required parameter: collectionId" when trying to upload content. They are using relationships in their code. They are asked for a specific code snippet to troubleshoot further. A solution was not provided in the support thread.What's your code and are you working with relationships?
yes I am working with relationships! what code snippet would you need specifically?
The code snippet that triggered this and info about what data was passed in
Recommended threads
- DB connection | Got timeout reading comm...
When looking at the logs of `appwrite-mariadb` I'm seeing a lot of: ``` 2026-04-09 7:37:28 10 [Warning] Aborted connection 10 to db: 'appwrite' user: 'appwrit...
- Invalid document structure: Unknown attr...
Environment: Dart version: 3.5.1 dart_appwrite: 13.0.0 I’ve already created the database structure using a Dart function. I can create data records using cloud...
- Help with nameservers
I just added our domain, and as per instruction in the page following, it says, "Add the following nameservers on your DNS provider. ..." I want to keep my cu...