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
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...