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 Antwort
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
beantwortet vor 4 Monaten

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