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개 답변
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
답변함 4달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인