reagent/etsy — Issue #25: Etsy.access_token 500's in :sandbox
Author: plainlystated
Created: 2012-02-25 04:32:08+00:00
State: open

I'm trying to get OAuth set up per the instructions in the README, but when I get to:

access = Etsy.access_token(request.token, request.secret, 'my_verification_code')

I get a a 500. I have tried with ruby 1.9.2 and 1.8.7. I am using the latest github version.

1.8.7 :003 > access = Etsy.access_token(request.token, request.secret, "1fac4eee")
Net::HTTPFatalError: 500 "Server Error"
from /Users/rellik/.rvm/rubies/ruby-1.8.7-p357/lib/ruby/1.8/net/http.rb:2105:in `error!'
from /Users/rellik/.rvm/gems/ruby-1.8.7-p357@etsy/gems/oauth-0.4.5/lib/oauth/consumer.rb:221:in `token_request'
from /Users/rellik/.rvm/gems/ruby-1.8.7-p357@etsy/gems/oauth-0.4.5/lib/oauth/tokens/request_token.rb:18:in `get_access_token'
from ./lib/etsy/secure_client.rb:55:in `client_from_request_data'
from ./lib/etsy/secure_client.rb:63:in `client'
from ./lib/etsy.rb:133:in `access_token'
from (irb):3