API Gateway -> Kinesis Mapping Issue

0

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

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

API Request Body: Enter image description here

Lambda Logs: Enter image description here

AWS
已回答 2 年前
  • 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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则