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
- FCM Message error
When creating a message target via flutter sdk via ``` final target = await _account.createPushTarget( targetId: targetId, identifier: deviceTok...
- Bulk API limitations in self-hosted serv...
Environment: Appwrite Selfhost SDK: node-appwrite 28.0 Calling `upsertRows` (also applies to `createRows`/`updateRows`/`deleteRows`) with more than 100 rows fa...
- Self Hosted GitHub connection not adding...
After upgrading to 1.9.6 i noticed that i cannot search for new repositories when trying to add new functions. I removed the existing github connection via Set...