Hello Appwrite developers,
I have been encountering issues for the past two weeks while working with Appwrite. The listDocuments method is not providing the data when performing the query. Additionally, the createEmailSession function is not working correctly. Could you please assist me in resolving these issues or provide guidance on how to fix them?
here the code try { const newResume = await databases.listDocuments( process.env.API_DATABASE_ID, process.env.API_COLLECTION_ID, [Query.equal("User_id", userId)] ) await set({singleData : newResume.documents}) } catch (error) { console.log("error on getting single data from db ", error) } },
and this error AppwriteException: Invalid query: {"method":"equal","attribute":"User_id","values":["661149c21d8591b41bd4"]} at Client.<anonymous> (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=40bef5d7:883:17) at Generator.next (<anonymous>) at fulfilled (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=40bef5d7:488:24)
Recommended threads
- Authentication on custom Websocket Serve...
Hi, I want to use a custom Websocket Server (using Bun) for my application. However I cant really figure out authentication on custom servers. Session cookies ...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...