aws-serverless-express-edge icon indicating copy to clipboard operation
aws-serverless-express-edge copied to clipboard

Event body not present

Open rossrossp opened this issue 7 years ago • 1 comments

Hello,

This may be a setup issue with CloudFront, but I am not receiving a body inside the event object my Lambda is called with, and therefore it's not passed to express. An example of such a call is: screen shot 2018-02-18 at 17 15 49

Is there something special I need to do in the CloudFront distribution setup to get this to work? I've allowed all methods, and been through the settings a few times to check for something missing, but I can't see anything there or in the docs.

Thanks, Ross.

rossrossp avatar Feb 19 '18 08:02 rossrossp

@rossrossp there's a checkbox for passing the body to the lambda event in the configuration

wmertens avatar Feb 13 '19 23:02 wmertens