Open marovargovcik opened 2 months ago
You can set the log level to get additional logs https://github.com/CodeGenieApp/serverless-express/tree/mainline?tab=readme-ov-file#logsettings. It's possible there is a bug with the ALB response mapper https://github.com/CodeGenieApp/serverless-express/blob/mainline/src/event-sources/aws/alb.js#L45
Hey, I am attempting to deploy a small Express app to AWS as a Lambda connected to ALB via target group.
I am able to successfully make a request to
/200
and see the JSON response but I am not successful with requests that modify thestatus
. In those I just see this response from ALB:Can I please ask for guidance how would I go about debugging this? I don't see anything useful in my Cloudwatch logs of the Lambda function. Should I enable ALB logs?
Thank you.