API Gateway -> Kinesis Mapping Issue

0

Changing the value of the integration mapping results in bad kinesis input.

1 Answer
0
Accepted Answer

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) Enter image description here

API Request Body: Enter image description here

Lambda Logs: Enter image description here

AWS
answered 2 years 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions