API Gateway -> Kinesis Mapping Issue

0

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

1 réponse
0
Réponse acceptée

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
répondu il y a 2 ans
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions