Skip to content

Lambda broken with aiobotocore error #92

@hrodmn

Description

@hrodmn

Any attempt to open a file in S3 will result in this error:

{"detail":"ClientArgsCreator.compute_endpoint_resolver_builtin_defaults() missing 2 required positional arguments: 'credentials' and 'account_id_endpoint_mode'"}

I hit this in titiler-cmr recently and the fix was to ensure that we have compatible versions of boto3, botocore, and aiobotocore in the lambda runtime.

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