Any example of using queries in the context of REST API?
Here's an example: https://appwrite.server/v1/databases/DB_ID/collections/COL_ID/documents?queries=["equal(customerId, CUSTOMER_ID)"]
Whatever format I tried, I keep getting response:
TypeScript
{
"message": "Invalid queries: Value must a valid array and Value must be a valid string and no longer than 4096 chars",
"code": 400,
"type": "general_argument_invalid",
"version": "1.2.1"
}
TL;DR
The user is having trouble using queries in a REST API. They tried different formats but keep getting an error message stating that the queries are invalid. They provided an example of their code.Did you look at this? https://appwrite.io/docs/rest#query
Thanks
[SOLVED] Using queries in REST API
Recommended threads
- Invalid type for attribute 'email': emai...
I'm using the node-appwrite SDK to create a table, the column payload looks like this: ```json [{"key":"email","type":"email","required":true, "size": 512}] ``...
- Auth not working
guys my appwrite auth isnt working? oauth works (Sign in with google n discord) i have 2 websites deployed where do i get help when i do sign in with email and ...
- Issue related to index
Why it is showing this error?