API Gateway -> Kinesis Mapping Issue

0

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

1 Antwort
0
Akzeptierte Antwort

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
beantwortet 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.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen