jasonetorres (class 23)
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. Drake
What's your code and are you working with relationships?
jasonetorres (class 23)
yes I am working with relationships! what code snippet would you need specifically?
Drake
The code snippet that triggered this and info about what data was passed in
Recommended threads
- 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...
- What Query's are valid for GetDocument?
Documentation shows that Queries are valid here, but doesn't explain which queries are valid. At first I presumed this to be a bug, but before creating a githu...
- Appwrite exception: user_unauthorized, t...
After refreshing the app it is working perfectly