Skip to content

Potential bug in the runtime #250

Closed
Closed
@jakejscott

Description

@jakejscott

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions