Hi, I am trying to use the API to upload files into a bucket on a self hosted instance.
The files are generally around 1-2MB and I retrieve them from an external server via get requests.
Since they are already a byte array, I use InputFile.from_bytes to create the file.
I can create the small files, but I keep getting a "413 Request Entity Too Large" response for all files larger than 1084325 bytes
I don't see the reason for this limit/how I can bypass it.
Here is a code snippet showing the file size limitation content = (("x" * 1048325).encode()) ###All values greater than 1048325 result in the error storage.create_file(bucket["$id"], ID.unique(), file=InputFile.from_bytes(content, "temp_file_name"))
The documentation states that the file size limit is around 5MB, and this is nowhere near it.
Is this a known issue and how can I resolve it?
Recommended threads
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?