error 413 http API GATEWAY

0

I don't understand why my api gateway is giving me an error 413: {message: 'Request Entity Too Large'}. I'm trying to upload a file but it is only 500kb and it is far from the 10Mb body size quotas, so I don't understand why I'm having this error.

Thank you in advice.

1 Answer
0

This error may be related to header size. From http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html:

  • Custom headers: maximum length of a header name 256 characters
  • Custom headers: maximum length of a header value 2,048 characters
  • Custom headers: maximum length of all header values and names combined 10,240 characters
profile pictureAWS
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions