Hi, I am trying to upload large files to Appwrite in chunks. The code:
Receives a file (Base64 encoded) and its name via a JSON payload.
Decodes the Base64 data and saves it as a temporary file.
Splits the file into smaller chunks (5MB).
Uploads each chunk to Appwrite Storage using the create_file method.
Cleans up temporary files after processing.
Unfortunatelly, I am getting 2 errors:
An internal curl error has occurred within the executor! Error Msg: Http invalid protocol\nError Code: 500
or
\nError Code: 413
Can you help me?
TL;DR
The developer is encountering errors (Error Codes 500 or 413) when trying to upload large files to Appwrite in chunks. The issue may be related to encoding, chunk size, or server configuration.
To troubleshoot, they can try adjusting the chunk size, checking the encoding process, or verifying server settings related to file upload limits.