Invalid query: Attribute not found in schema even though query, and attribute are correct/exist.
- 0
- Self Hosted
- Databases
- REST API
Hiya. I'm trying to use the REST API with documents and doing a simple select with query:
https://<mydomain>/v1/databases/<database>/collections/<collection>/documents?queries[]=%7B%22method%22%3A%22equal%22%2C%22column%22%3A%22uuid%22%2C%22values%22%3A%5B%22abcdefg%22%5D%7D
({"method":"equal","column":"uuid","values":["abcdefg"]})
and getting
"message": "Invalid query: Attribute not found in schema: ",
"code": 400,
"type": "general_query_invalid",
"version": "1.6.0",
"file": "/usr/src/code/app/controllers/api/databases.php",
"line": 3099,
"trace":
even though the attribute definitely does exist. Could this be an installation error on my part, perhaps? Thanks for the help
Or maybe I'm misunderstanding how to use the query argument. First time using it.
Recommended threads
- how to access the value of account statu...
- Redirect from clicking team invite link ...
Hi all! Pretty new to app development in general so this might be something more generic than appwrite, but I've found (after reading the docs for the Teams API...
- Hosting Issues with Static IP not domain...
I have a machine with Static Public IP. I want to host Appwrite Site on it but I tried it but it doesn't allow IP addresses in Domain names. What should I do h...