laurencetroyv
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
- Functions URL Defaulting to HTTP Instead...
Hi everyone, I’m currently facing an issue with function URLs in my Appwrite setup, and I would appreciate some guidance. **Setup Details:** Appwrite Version: ...
- Assistance with Restoring Admin User and...
I am using a self-hosted instance of Appwrite, deployed through Coolify. Unfortunately, I mistakenly deleted the admin user, and now when I try to register a ne...
- migration from 1.5.11 to 1.6
how can I solve this my migration is failing at 100%. The collections are created but the attributes are in processing. I can not even create a document.