
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
- Storage & Database is not allowing.
Storage & Database is not allowing to CRUD after i have logged in ? Using web SDK with next.js without any SSR or node-sdk.
- Privacy settings for storage
In my app the user could upload sensitive images for themselves (as a weight loss journal) and they probably don’t want developers or anyone else but themselves...
- Corrupted files on AWS S3
Hello! I'm having trouble using S3 storage with appwrite for file uploads. It happens when uploading files from the Javascript SDK or from the console. The fi...
