Hi, thanks for your work on this! My lambda is invoked, but it looks like the request never gets to my handler. I'm getting an Internal Server error.
Here's a copy of the log: My haskell program is run and the wai Application is created (I'm using aws-lambda-haskell-runtime-wai). But there are no messages
FinalFive Main.hs Loaded
"Starting Lambda using API gateway handler 'handler'."
FinalFive Wai application Loaded
START RequestId: 2bb28bf8-1daf-49fe-956e-8a6d88ae72d4 Version: $LATEST
END RequestId: 2bb28bf8-1daf-49fe-956e-8a6d88ae72d4
REPORT RequestId: 2bb28bf8-1daf-49fe-956e-8a6d88ae72d4 Duration: 607.04 ms Billed Duration: 2923 ms Memory Size: 1024 MB Max Memory Used: 44 MB Init Duration: 2315.74 ms
START RequestId: 3d5dc234-6c7e-400d-954a-71c4e722d666 Version: $LATEST
END RequestId: 3d5dc234-6c7e-400d-954a-71c4e722d666
REPORT RequestId: 3d5dc234-6c7e-400d-954a-71c4e722d666 Duration: 1.67 ms Billed Duration: 2 ms Memory Size: 1024 MB Max Memory Used: 45 MB
The Api Gateway log says Unhandled. Does that mean an unhandled exception or a unhandled request?
{
"requestTime":"23/Jul/2021:16:04:21 +0000",
"requestId":"C7lE4jEHIAMEM8Q=",
"apiId":"flj31jsfu2",
"resourcePath":"$default",
"path":"/ballot",
"httpMethod":"GET",
"stage":"$default",
"status":"500",
"integrationStatus":"200",
"integrationLatency":"3308",
"responseLatency":"3313",
"responseLength":"35",
"errorMessage":"Internal Server Error",
"format":"SLS_HTTP_API_LOG",
"version":"1.0.0",
"integrationErrorMessage":"The Lambda function returned the following error":"Unhandled. Check your Lambda function code and try again.",
"responseType":"INTEGRATION_FAILURE"
}
What am I missing?
Hi, thanks for your work on this! My lambda is invoked, but it looks like the request never gets to my handler. I'm getting an Internal Server error.
Here's a copy of the log: My haskell program is run and the wai Application is created (I'm using aws-lambda-haskell-runtime-wai). But there are no messages
The Api Gateway log says Unhandled. Does that mean an unhandled exception or a unhandled request?
What am I missing?