
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
- Self-Hosted Funcitons load limits
Hi all, is there rate/load limits of self hosted functions? I.e called 100 times a second?
- Opt-in relationships
Load relationships of relationships not work When I try to get translation.word_from.* it failed. But as you can see translation it is relation and word_from a...
- Getting Cors Error while running console...
Hi. Can anyone help me resolve this. I was not facing CORS error 15 minutes ago but now for some reason I am getting it and not able to resolve it.
