#missing required parameter: collectionID

3 messages · Page 1 of 1 (latest)

frosty umbra
#
    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
ripe light
frosty umbra
#

yes I am working with relationships! what code snippet would you need specifically?