In the AWS API Gateway, I have a GET method that calls the lambda function.
When I test the method in the control panel of the API gateway, the lambda function succeeds, but the API gateway does not map the context.success () call to the result of 200, even though the default value is set to yes.
Instead, I get this error:
Execution failed due to configuration error: No match for output mapping and no default output mapping configured
This is my integration setup: 
And this is my method response setup: 
Basically, I would expect the Gateway API to recognize successful lambda execution and then match it by default with a 200 response, but that doesn't happen.
Does anyone know why this is not working?
amazon-web-services aws-lambda aws-api-gateway aws-sdk
Zigglzworth
source share