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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南