You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[9] pry(main)> client = RightSignature::Connection.new(api_token: AppConfig.rightsignature.api_token)
[10] pry(main)> client.templates_list
MultiXml::ParseError: Start tag expected, '<' not found
from /Users/bartoszlecki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/multi_xml-0.6.0/lib/multi_xml/parsers/nokogiri.rb:16:in `parse'
AppConfig.rightsignature.api_token is present for sure.
The text was updated successfully, but these errors were encountered:
I don't really know this gem well enough to have a real idea what's going on, but I've been using the templates_list without issue (and with an api_token) for awhile now.
I notice that it's referencing Nokogiri, when the gem is set to use XmlFu (an old version). That may be a source of the issue?
The other thing you can do is clone this repo locally, and poke around - just load the library from the local copy, and you can stick some debug code in the connection to check it out in more detail.
Just tried to poke around and I get "Invalid OAuth request" but not really sure why. Headers look good to me (they have "api-token" inside).
Well, it's definitely not issue of library most likely but rather problem of some API token stuff. Library could use some error handling though. Will make some PR in a moment.
Just tried and following problems occur:
AppConfig.rightsignature.api_token
is present for sure.The text was updated successfully, but these errors were encountered: