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
- Error: Trying to install appwrite on sub...
``` [Error] Method: POST appwrite | [Error] URL: /v1/account appwrite | [Error] Type: Appwrite\Extend\Exce...
- Type 'Theme' does not satisfy the constr...
Type 'Theme' does not satisfy the constraint 'Row'. Type 'Theme' is missing the following properties from type 'Row': $id, $sequence, $tableId, $databaseId, a...
- JavaScript heap out of memory during bui...
I am running into heap out of memory when I am trying to build an Appwrite site. Usually this can be fixed by modifying the `max-old-space-size` configuration, ...