I am getting the same error in appwrite python sdk calling either of storage.list_buckets() or storage.get_bucket(bucket_id='<bucket_id>').
Traceback (most recent call last): File "/images/main.py", line 13, in <module> main() ~~~~^^ File "/images/main.py", line 9, in main result = storage.list_buckets() File "/usr/local/lib/python3.13/site-packages/appwrite/services/storage.py", line 42, in list_buckets return self.client.call('get', api_path, { ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 'content-type': 'application/json', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ }, api_params) ^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/appwrite/client.py", line 137, in call raise AppwriteException(response.text, response.status_code, None, response.text) appwrite.exception.AppwriteException: request cannot have request body
using appwrite==9.0.3
I think the line in client.py that assigns data={} for all requests might be the reason for the error. But open to ideas and solutions
oh you did make a new request
I am using 9.0.3 and I do not have this issue, can you show the code that calls it instead of just the error?
Recommended threads
- Error getting preview of file
Rest Response: ``` { "message": "Server Error", "code": 500, "type": "general_unknown", "version": "1.8.1" } ``` Appwrite Logs ``` appwrite ...
- Storage images using custom domain retur...
Some of the images uploaded to my storage bucket returns this error: ``` { "message": "Project with the requested ID could not be found. Please check the value...
- Bandwidth limit for your organization ha...
I received an alert that I exceeded the Free plan bandwidth limit (showing 5.86 GB), but my dashboard tells a different story. The usage stats there are much lo...