Getting an error saying
TypeScript
AppwriteException [Error]: The file size is either not valid or exceeds the maximum allowed size. Please check the file or the value of the _APP_STORAGE_LIMIT environment variable.
at Client.call (C:\Users\laure\CONFIG~1\herd\bin\nvm\v23.2.0\node_modules\appwrite-cli\lib\client.js:211:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async uploadChunk (C:\Users\laure\CONFIG~1\herd\bin\nvm\v23.2.0\node_modules\appwrite-cli\lib\commands\functions.js:717:20)
at async functionsCreateDeployment (C:\Users\laure\CONFIG~1\herd\bin\nvm\v23.2.0\node_modules\appwrite-cli\lib\commands\functions.js:744:17) {
code: 400,
response: 'storage_invalid_file_size'
}
Assertion failed: !(handle->flags & UV_HANDLE_CLOSING), file c:\ws\deps\uv\src\win\async.c, line 76
Even though I set in the .env
TypeScript
_APP_STORAGE_LIMIT=300000000
_APP_STORAGE_PREVIEW_LIMIT=300000000
and I did docker compose up -d
TL;DR
Developers encountering an error related to file size exceeding the maximum limit can resolve the issue by ensuring that the _APP_STORAGE_LIMIT and _APP_STORAGE_PREVIEW_LIMIT variables in the .env file are correctly set. Despite setting these limits, the error might persist due to an incorrect configuration.Recommended threads
- Function deployment failed: Unable to re...
Hi Appwrite team, I have been experiencing persistent errors when i attempt to push my appwrite functions. The logs on the deployment detail page on the console...
- Github connection error - Self Hosted Ap...
I am trying to connect my github account to deploy a project to sites, but Connect to Gtihub button is disabled. I have configured all Env variables needed for...
- "Domain verification failed"
"Domain verification failed" I was install Appwrite in my VDS server. I using Coolify for install Appwrite. After install complete, i want add my domain, and i ...