Missing Status fields in ItemGetResponse from missing version number in user agent
michaelkitson opened this issue · comments
Hey team, I was confused why ItemGetResponse would always have a null status field in our requests, and was surprised to see the value present in the item debugger and when manually performing the api call with curl.
I worked through any possible differences between the http requests made by curl vs this library and eventually narrowed it down to the user agent header.
When reproducing the same request with curl, providing the buggy user agent reproduced the error that we see using this library. Fixing the version string in the library resolved the issue ("Plaid Ruby v#"
-> "Plaid Ruby v#{VERSION}"
).
The offending line:
plaid-ruby/lib/plaid/api_client.rb
Line 33 in eeaea45
The bug was introduced in 442a639
Happy to provide ruby or curl examples if necessary, let me know.
Thanks!
Thanks for the extremely detailed bug report. This looks like a typo in some interpolation. Should have a fix soon after Thanksgiving, I think.
This should be fixed with today's release. Feel free to reopen/create a new issue if it's not resolved.