I have a custom doctype and it has around 10 child tables. Few child tables take data and record is saved. But when I try to add data in other tables, it is giving 413 Request Entity is too large error on browser console. And on UI it is giving Max File size exceeded 50 MB.
Things I tried out:
- File size in System setting. Even I tried setting it to 2GB, but on UI it says Max file size exceeded 2GB.
- File size in System setting set to 0 and I did set in site_config.json, but with this approach also it is giving same error on UI.
- Actual error is not about file size because I am not attaching anything to doctype record. 413 is NGINX related issue. So I checked size of json payload which is less than 1 MB. Still I modified nginx conf and I did set client_max_body_size:50mb. Still it is giving same error.