How can i solve this issue

image

@amal_31845 check this Maximum File Size

I have update did it in the site.config but no change

Duplicate Issue: Sales invoice import - #7 by NCP

That didnt solved you didnt responded @NCP

I don’t know what problem you have there but if we increase the file size in system settings it works from my side.

@amal_31845 check this How to upload large file size (more than 200MB)

1 Like

No Change

@amal_31845 bench build and migrate the site
@frappe.whitelist(allow_guest=True)
def get_max_file_size() → int:
return (
cint(frappe.get_system_settings(“max_file_size”)) * 1024 * 1024
or cint(frappe.conf.get(“max_file_size”))
or 25 * 1024 * 1024
)
this function is working for getting max file size

1 Like