Skip to content

invalid configuration option `:xray_recorder' on Ivschat #104

@tas-oikawa

Description

@tas-oikawa

Hello team — I’m seeing an ArgumentError when initializing Aws::Ivschat::Client with the :xray_recorder option.

Summary

Aws::Ivschat::Client.new raises ArgumentError (invalid configuration option :xray_recorder) when the X-Ray Ruby SDK is configured.

Steps to Reproduce

require 'aws-xray-sdk'
require 'aws-sdk-ivschat'

# NG if passing patch argument
XRay.recorder.configure(name: 'demo', patch: %i[aws_sdk])
Aws::Ivschat::Client.new

# OK if not passing patch argument
XRay.recorder.configure(name: 'demo')
Aws::Ivschat::Client.new

Error

aws-sdk-core-3.224.1/lib/seahorse/client/configuration.rb:168:in 'block in Seahorse::Client::Configuration#apply_options': invalid configuration option `:xray_recorder' (ArgumentError)

Possible Cause

IVSChat might be missing from the allow-list in
aws/aws-xray-sdk-ruby ➜ aws_services_allowlist.rb.

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