How to increase aws ec2 load balancer size limit, my post request return 413

304 Views Asked by At

I am calling a POST method at an EC2 instance from a Lambda function with a big size json payload, the size of this payload is around 1.6MB. The response returned 413(payload too large). The response message is like http://{dns_id}.elb.us-east-4.amazonaws.com:80 \"POST /endpoint/payload HTTP/1.1\" 413 176

How can I increase the request body limit to solve this issue?

Thank you

searched on google, but no useful approach

0

There are 0 best solutions below