React Developer
I'm querying a appwrite collection via the REST API on appwrite cloud 1.9.5 (no SDK) via a cloudflare worker and keep getting:
{"message":"Invalid query: Attribute not found in schema: ","code":400,"type":"general_query_invalid","version":"1.9.5"}
This was my https request:
https://fra.cloud.appwrite.io/v1/databases/<DB_ID>/collections/<COLLECTION_ID>/documents?queries[]={"method":"equal","column":"userId","values":["<USER_ID>"]}.
To my understanding, it is the correct format.
I can confirm that the attribute userId exists in the collection and userId is indexed. DB ID, Collection ID, and Project ID are all correct. JWT auth is working. Fetching ALL documents with no query works fine. With a query, there is a problem.
Why do I get the Attribute not found in schema error? How can I resolve this?