Magnum with API Gateway

0

Hello,

I'm in the process of converting from lambda functional URL to API Gateway. lambda was working fine when called with the function URL but now I get this error: "The adapter was unable to infer a handler to use for the event. This is likely related to how the Lambda function was invoked. (Are you testing locally? Make sure the request payload is valid for a supported handler.)" with the API Gateway integration.

Jehan
已提问 2 个月前152 查看次数
1 回答
1
已接受的回答

The issue was with the request mapping. There were none. SInce lambda is expecting a HTTP request mapping is needed before passing to the lambda.

Jehan
已回答 2 个月前
profile picture
专家
已审核 2 个月前

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

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

回答问题的准则