🐛 Bug Report: Incorrect variable name in error message when site upload size limit is exceeded #9904
Open
2 tasks done
Labels
bug
Something isn't working
👟 Reproduction steps
Attempt to deploy a site (via CLI or web UI).
Use a deployment archive that exceeds the allowed size limit (default to 30MB).
Observe the error message returned.
👍 Expected behavior
The error message should indicate the correct environment variable responsible of the sites size limit (
_APP_COMPUTE_SIZE_LIMIT
).👎 Actual Behavior
The following error is returned:
This error references the
_APP_STORAGE_LIMIT
variable, which is incorrect. After digging the source code, I've found that the actual variable responsible of this behavior is_APP_COMPUTE_SIZE_LIMIT
.Also, I did not find any reference to this variable within the documentation, making it a bit harder to troubleshoot.
🎲 Appwrite version
Different version (specify in environment)
💻 Operating system
Linux
🧱 Your Environment
I'm running appwrite localy on a fresh Debian (WSL) installation.
Appwrite version :
1.7.4
SDK version :
7.0.0
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: