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.

1 Answer
1
Accepted Answer

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
answered 2 months ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions