file_list = storage.list_files(bucket_id, queries=[Query.limit(60000)])
i got File "C:\Users\theer\Work\nextjs-dashboard\batch\venv\Lib\site-packages\requests\models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://cloud.appwrite.io/v1/storage/buckets/65ddda5a22511b49da95/files?queries%5B0%5D=limit%2850000%29
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\theer\Work\nextjs-dashboard\batch\48_timesheet_remapping_file_id.py", line 39, in <module>
file_list = storage.list_files(bucket_id, [Query.limit(50000)])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\theer\Work\nextjs-dashboard\batch\venv\Lib\site-packages\appwrite\services\storage.py", line 125, in list_files
return self.client.call('get', api_path, {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\theer\Work\nextjs-dashboard\batch\venv\Lib\site-packages\appwrite\client.py", line 112, in call
raise AppwriteException(response.json()['message'], response.status_code, response.json().get('type'), response.json())
appwrite.exception.AppwriteException: Invalid queries param: Invalid query: Invalid query: Syntax error
When I removed Query.limit param it's fine.. It used to work.. but today unable to use it
Recommended threads
- Frequent 500 Internal Server Errors - Pr...
PROJECT ID: 6951f2xxxxx1ee9e750a REGION: Singapore (sgp.cloud.appwrite.io) PLAN: Pro Our production application experiences **500 Internal Server Errors** mult...
- Issue with Custom SMTP
Hey everyone, I'm facing an issue when updating my Custom SMTP settings on Appwrite Cloud. The UI fails silently (no visual errors), but when checking the cons...
- Function running for more than 2 hours i...
This is my projectID: 669fe01b003800dd0503 Cloud functionID is 696ea05400147eb8eb3b I hope this doesn't count against my GB-hours?