Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Attributes #486

Closed
steven-searcy opened this issue Mar 8, 2024 · 2 comments
Closed

Invalid Attributes #486

steven-searcy opened this issue Mar 8, 2024 · 2 comments

Comments

@steven-searcy
Copy link

steven-searcy commented Mar 8, 2024

I'm attempting to use the following attributes with /link/token/create: required if supported products and optional products, however I'm getting this error message:

optional_products is not a valid attribute in Plaid::LinkTokenCreateRequest

Are these not supported within the SDK? If I remove the optional_products attribute here, I'm not receiving any issues.

request = Plaid::LinkTokenCreateRequest.new({
      user: { client_user_id: user_id },
      client_name: client_name,
      products: %w[transactions],
      optional_products: %w[liabilities],
      country_codes: ["US"],
      language: "en",
      account_filters: { credit: { account_subtypes: ["credit card"] } } 
    })
@phoenixy1
Copy link

@steven-searcy can you confirm that you are using the latest version of the plaid-ruby client library? Optional products is definitely included in the latest version: https://github.com/plaid/plaid-ruby/blob/master/lib/plaid/models/link_token_create_request.rb#L191

@jon-mcclung-fortyau
Copy link

@steven-searcy can you confirm that you are using the latest version of the plaid-ruby client library? Optional products is definitely included in the latest version: https://github.com/plaid/plaid-ruby/blob/master/lib/plaid/models/link_token_create_request.rb#L191

Thank you, this fixed it for us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants