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

outdated login API #5

Open
klepsydra opened this issue Jan 19, 2019 · 1 comment
Open

outdated login API #5

klepsydra opened this issue Jan 19, 2019 · 1 comment

Comments

@klepsydra
Copy link

Seems like the login/credentials part needs updating.

irb(main):014:0* @robinhood = Robinhood::REST::Client.new(username, password)
JSON::ParserError: 765: unexpected token at '<h1>Not Found</h1><p>The requested URL /api-token-auth/ was not found on this server.</p>'
        from /var/lib/gems/2.3.0/gems/json-2.1.0/lib/json/common.rb:156:in `parse'
        from /var/lib/gems/2.3.0/gems/json-2.1.0/lib/json/common.rb:156:in `parse'
        from /var/lib/gems/2.3.0/gems/robinhood-ruby-0.4.4/lib/robinhood-ruby/rest/client.rb:88:in `login'
        from /var/lib/gems/2.3.0/gems/robinhood-ruby-0.4.4/lib/robinhood-ruby/rest/client.rb:19:in `initialize'
        from (irb):14:in `new'
        from (irb):14
        from /usr/bin/irb:11:in `<main>'
irb(main):015:0> 

@mmahalwy
Copy link

mmahalwy commented Aug 8, 2019

@klepsydra same here. Any luck getting around this?

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

2 participants