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 Server 404 Not Found
Someone help please I'm using docker appwrite on my vps hosting server. there are other projects running on nginx as well so to avoid issues i'm using nginx se...
- Realtime API over cloudflare tunnels
Hello. Is it possible to use the realtime subscriptions, when the self-hosted instance is exposed via cloudflare tunnels? There is no additional proxy. I am us...
- Hostname redirect forwarding...
I want the redirect of the Cname is redirected correctly from www. to glossytech.co.ke