Error when integrating API Gateway with Aws Lambda

0

Hello,

I'm getting an error when integrating API Gateway with Aws Lambda, I make an Http REST POST call and I get the following JSON: Enter image description here

I debugged via CloudWatch but I can't find any reference to the reason for the error, my lamdba script receives a call from the gateway and makes a call to an external backend via HTTP REST POST. I haven't found the cause of this behavior yet.

Enter image description here

Enter image description here

1 réponse
0

Please check the following steps as mention in below

Step 1: Verify that the input format expected by the Lambda function matches the format of the data sent in the POST request. Step2: Check the configuration of AWS API Gateway in the request and request mapping are configured correctly or not . Step 3: Check the payload of the POST request. A common cause for a 409 error is sending data that conflicts with the current state of the resource

profile picture
Jagan
répondu il y a 4 mois

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