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
- SSL certificate generation failed even t...
Hello, I have an Appwrite Site for which I added a custom domain. However, even though the domain is verified, the SSL certificate generation is failing. It is ...
- [Self-hosted] Realtime crashes with "Mis...
- How to use Operator.arrayAppend on a rel...
Hi, is it possible to use any operator on a relationship column? I have a One to Many relationship column on a table and I would like to add entries to the colu...