1 Answer
- Newest
- Most votes
- Most comments
0
this request works fine for me. I simulated the same settings in my acc and i'm able to successfully the receive the payload in the lambda. Attaching the screenshot of my api request, api gateway mapping template and lambda logs: so it should work with 'payload' key also. Please check if your api request body is correct.
API Gateway Mapping Template (Same as your's)
API Request Body:
Lambda Logs:
answered 2 years ago
Relevant content
- asked a year ago
- Accepted Answerasked 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
Thank you for your confirmation, this helped. It ended up being the case that the terraform version I was using was unevenly applying/refreshing API gateway resources and this was messing things up.