Back

Error of Limit Query 100 using appwrite-cli -> ✗ Error Invalid queries: Invalid query: {"method":"l

  • 0
  • Tools
  • Self Hosted
sagittarius_k2
7 May, 2024, 15:20

Running "appwrite init collection" command on cli gives the following error. I am using appwrite-cli version 5.0.3 AppwriteException [Error]: Invalid queries: Invalid query: {"method":"limit","values":[100]} at Client.call (C:\Users\sagittariusk2\AppData\Roaming\nvm\v20.11.1\node_modules\appwrite-cli\lib\client.js:197:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async storageListBuckets (C:\Users\sagittariusk2\AppData\Roaming\nvm\v20.11.1\node_modules\appwrite-cli\lib\commands\storage.js:66:16) at async paginate (C:\Users\sagittariusk2\AppData\Roaming\nvm\v20.11.1\node_modules\appwrite-cli\lib\paginate.js:10:26) at async initBucket (C:\Users\sagittariusk2\AppData\Roaming\nvm\v20.11.1\node_modules\appwrite-cli\lib\commands\init.js:212:25) { code: 400, response: 'general_argument_invalid' } ✗ Error Invalid queries: Invalid query: {"method":"limit","values":[100]}

TL;DR
Developers encountering Error of Limit Query 100 using appwrite-cli version 5.0.3 when running "appwrite init collection" command. Error = Invalid query: {"method":"limit","values":[100]}. Solution: Check the query syntax and update to the latest version of appwrite-cli.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more