Closed
Description
I just noticed a lambda that kept logging errors. I had to delete the lambda to stop it from running.
I'm using the new HTTP API Gateway to invoke the lambda.
This is what was being logged:
2020-08-05T21:34:40.255+12:00 START RequestId: 7d8b64ee-f309-529e-9710-334a8c61539a Version: $LATEST
2020-08-05T21:34:40.259+12:00 Error: Error("data did not match any variant of untagged enum LambdaRequest", line: 0, column: 0)
2020-08-05T21:34:40.296+12:00 END RequestId: 7d8b64ee-f309-529e-9710-334a8c61539a
2020-08-05T21:34:40.296+12:00 REPORT RequestId: 7d8b64ee-f309-529e-9710-334a8c61539a Duration: 37.58 ms Billed Duration: 100 ms Memory Size: 1024 MB Max Memory Used: 7 MB
Is this a serde error deseralizing into the LambdaRequest
type here: https://github.com/awslabs/aws-lambda-rust-runtime/blob/master/lambda-http/src/request.rs#L25
Metadata
Metadata
Assignees
Labels
No labels