Skip to content

Finch v0.22.0 raises ArgumentError due to unknown keys #228

@navinpeiris

Description

@navinpeiris

Finch v0.22.0 validates and raises when an unknown option is passed to Finch.request/3, including for :finch_name. The Finch PR with this change is sneako/finch#365

The error:

** (ArgumentError) unknown keys [:finch_name] in [finch_name: MyFinch], the allowed keys are: [:pool_timeout, :receive_timeout, :request_timeout, :pool_strategy]
code: HTTPClient.Finch.request(
stacktrace:
  (elixir 1.19.5) lib/keyword.ex:366: Keyword.validate!/2
  (finch 0.22.0) lib/finch.ex:879: Finch.request/3
  (aws 1.0.11) lib/aws/http_client/finch.ex:31: AWS.HTTPClient.Finch.request/5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions