1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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:
beantwortet vor 2 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
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.