Back

Cannot change maximum file/upload size

  • 0
  • Self Hosted
AXYZE
27 Sep, 2024, 21:58

Chrome 129, Windows 10. I've tried to reload, hard reload, clean cache, try megabytes/gigabytes and values like 1, 20, 200, 40000. No luck, always same error.

Invalid maximumFileSize param: Value must be a valid range between 1 and 30,000,000

Here's full response that Chrome gets: { "message": "Invalid maximumFileSize param: Value must be a valid range between 1 and 30,000,000", "code": 400, "type": "general_argument_invalid", "version": "1.6.0" }

TL;DR
Issue: Developer unable to change maximum file/upload size from default 30mb. Error message indicates the value must be within the range of 1 to 30,000,000. Attempted solutions such as reloading, cleaning cache, changing values to no avail. Solution: Check .env file to ensure max file size limit was properly changed within the valid range of 1 to 30,000,000.
Joshi
27 Sep, 2024, 21:59

Have you changed the max. file size limit in your .env file?

Joshi
27 Sep, 2024, 21:59

It is set to 30mb by default

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more