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

leo
已提问 4 个月前155 查看次数
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
已回答 3 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则