Issue on import json application "413 Request Entity Too Large"

Hello,
we are using the latest version for AppSmith in EKS infrastructure, whenever we try to export out application and import under another organization it shows an error “n is undefined” and in logs, I can see this error " 413 Request Entity Too Large". Checking the documentation we found that it might be because of Nginx size limit, but in our setup, we have “client_max_body_size 100m;” and out file size is 1.2M.
Here are the screens with experience

Does anybody know if there is any other setting we should be aware of?

Thank you in advance,
Vitalie.

@VitalieSvet are you using the helm-charts for the appsmith installation? If yes then you can set this value in the ingress annotations. Specifically, in your values.yaml file, under ingress.annotations. Can you please set nginx.ingress.kubernetes.io/proxy-body-size to 100m and try again?
Example:

ingress: annotations: nginx.ingress.kubernetes.io/proxy-body-size: "100m"

Hi @Abhvsn ,

thank you for your help, actually, we use yml files provided by installation script,
But you pointed us in right direction I added this property directly to our ingress

And it works :+1: :slight_smile:
Thank you !!!

2 Likes