
Hey all, I am trying to upload a photo to my self-hosted appwrite using the python API. I am getting this error:
TypeScript
Traceback (most recent call last):
File "/home/daniel/Projects/photo-uploader/.venv/lib/python3.10/site-packages/appwrite/client.py", line 100, in call
response.raise_for_status()
File "/home/daniel/Projects/photo-uploader/.venv/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 413 Client Error: Request Entity Too Large for url: https://reatret.net/v1/storage/buckets/photos_full_res/files
I have already increased _APP_STORAGE_LIMIT to 150000000 and I am trying to upload a file that is 12MB.
Am I hitting some other limit here?
Any help would be appreciated here. Thanks.
TL;DR
Developers are facing a "413 Request Entity Too Large" error when trying to upload a 12MB photo in a self-hosted appwrite using the Python API. They have already increased _APP_STORAGE_LIMIT to 150000000 but the issue persists. Any ideas on solving this problem?
Solution: Increase the server's client_max_body_size parameter to allow larger file uploads.Recommended threads
- appwrite cli alpine os
the appwrite cli does not work on alpine os if you install it using the recommended bash script. Maybe there is the possibility to compile it for alpine using t...
- NullReferenceException whenever I call s...
I hope you’re doing well. I’m encountering a NullReferenceException: Object reference not set to an instance of an object. whenever I call storage.CreateFile(.....
- Appwrite 1.7.4 " Utopia\Domains\Domain::...
