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
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...
- Appwrite cloud DB server error 500
Getting this error
- appwrite indexes not working (?
i have this index: ``` "indexes": [ { "key": "single-user-per-event", "type": "unique", ...