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 Risposta
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
con risposta 4 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande