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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南