lambda 413 error

Photo by Henry & Co. on Unsplash

lambda 413 error

AWS/AWS Lambda

  • situation
When you execute lambda function
  • error message
[ERROR] [1674721589583] LAMBDA_RUNTIME Failed to post handler success response. Http response code: 413.
  • cause
too large payload

6 MB each for request and response (synchronous)
256 KB (asynchronous)
  • reference

https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html