Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Error (RedditKit::RequestError) #49

Open
RomanADavis opened this issue Jan 22, 2017 · 0 comments
Open

Error (RedditKit::RequestError) #49

RomanADavis opened this issue Jan 22, 2017 · 0 comments

Comments

@RomanADavis
Copy link

Trying to make a redditbot. Didn't even get to do anything fun.

Here's my code:


require "redditkit"

RedditKit.sign_in "FluffyRibbot", "#{redacted}"

Here are some things you might want to know.

PS C:\Users\TOSHIBA\Desktop\Challenges\daily_programmer\hard> ruby challenge7.rb
C:/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/redditkit-1.0.2/lib/redditkit/client.rb:115:in `rescue in request': RedditKit::Request
Error (RedditKit::RequestError)
        from C:/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/redditkit-1.0.2/lib/redditkit/client.rb:108:in `request'
        from C:/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/redditkit-1.0.2/lib/redditkit/client.rb:96:in `https_post'
        from C:/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/redditkit-1.0.2/lib/redditkit/client/account.rb:13:in `sign_in'
        from C:/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/redditkit-1.0.2/lib/redditkit.rb:23:in `method_missing'
        from challenge7.rb:3:in `<main>'
PS C:\Users\TOSHIBA\Desktop\Challenges\daily_programmer\hard> ruby -v
ruby 2.3.3p222 (2016-11-21 revision 56859) [i386-mingw32]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant