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 Antwort
1
Akzeptierte Antwort

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
beantwortet vor 2 Monaten
profile picture
EXPERTE
überprüft vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen