👟 Reproduction steps
- Create an Appwrite Cloud project
- Create an API key with
users.read scope
- Send the following GET request via Postman:
GET https://fra.cloud.appwrite.io/v1/users?queries[]=limit(1)
Headers:
- X-Appwrite-Project: YOUR_PROJECT_ID
- X-Appwrite-Key: YOUR_API_KEY
👍 Expected behavior
Request should return paginated users list with limit of 1.
Both shorthand syntax limit(1) and JSON format should work.
👎 Actual Behavior
Shorthand syntax returns 400 Bad Request:
"Invalid query: Syntax error"
However, JSON format works correctly:
GET /v1/users?queries[]={"method":"limit","values":[1]} → 200 OK
🎲 Appwrite version
Version 1.9.x
💻 Operating system
Windows
🧱 Your Environment
- Tested via Postman
- Region: Frankfurt (fra.cloud.appwrite.io)
- API Key scope: users.read
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
👟 Reproduction steps
users.readscopeGET https://fra.cloud.appwrite.io/v1/users?queries[]=limit(1)
Headers:
👍 Expected behavior
Request should return paginated users list with limit of 1.
Both shorthand syntax
limit(1)and JSON format should work.👎 Actual Behavior
Shorthand syntax returns 400 Bad Request:
"Invalid query: Syntax error"However, JSON format works correctly:
GET /v1/users?queries[]={"method":"limit","values":[1]} → 200 OK
🎲 Appwrite version
Version 1.9.x
💻 Operating system
Windows
🧱 Your Environment
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?