I'm trying to query my collection filtered by a contactId. This contact id references ids of items in another collection. By the documentation something like this:
var documents = _databases.listDocuments(
databaseId: constants.databaseId,
collectionId: constants.CollectionIds.feedEntries,
queries: [Query.equal("contactId", contactId)]);
Should do the job fine, as the contactId attribute exists on the feedEntries collection and contactId is a String provided from other parts of the app.
But the code above throws this:
AppwriteException (AppwriteException: general_query_invalid, Invalid query: {"method":"equal","attribute":"contactId","values":["65fbf2e930f439e4eef7"]} (400))
What am I missing?
Recommended threads
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- My account is blocked so please check an...
My account is blocked so please unblock my account because all the apps are closed due to which it is causing a lot of problems
- Applying free credits on Github Student ...
So this post is kind of related to my old post where i was charged 15usd by mistake. This happens when you are trying to apply free credits you got from somewh...