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

Faraday::ParsingError: 757: unexpected token at 'Too Many Requests' #50

Open
caseylang opened this issue Jan 14, 2015 · 1 comment
Open

Comments

@caseylang
Copy link
Contributor

I'm getting a faraday error that I could use some help debugging:

/usr/local/lib/ruby/2.1.0/json/
common.rb: 155:in `parse'
/usr/local/lib/ruby/2.1.0/json/
common.rb: 155:in `parse'
…re-0.9.1/lib/faraday_middleware/response/
parse_json.rb:  11:in `block in <class:ParseJson>'
…re-0.9.1/lib/faraday_middleware/
response_middleware.rb:  48:in `call'
…re-0.9.1/lib/faraday_middleware/
response_middleware.rb:  48:in `parse'
…re-0.9.1/lib/faraday_middleware/
response_middleware.rb:  39:in `process_response'
…re-0.9.1/lib/faraday_middleware/
response_middleware.rb:  32:in `block in call'
…/ruby/2.1.0/gems/faraday-0.9.0/lib/faraday/
response.rb:  57:in `on_complete'
…re-0.9.1/lib/faraday_middleware/
response_middleware.rb:  30:in `call'
…/ruby/2.1.0/gems/faraday-0.9.0/lib/faraday/
response.rb:   8:in `call'
…/ruby/2.1.0/gems/faraday-0.9.0/lib/faraday/
response.rb:   8:in `call'
…/gems/faraday-0.9.0/lib/faraday/request/
url_encoded.rb:  15:in `call'
….0/gems/faraday-0.9.0/lib/faraday/request/
multipart.rb:  14:in `call'
…ddleware-0.9.1/lib/faraday_middleware/request/
oauth.rb:  42:in `call'
…/desk-1.0.3/lib/faraday/request/
multipart_with_file.rb:  16:in `call'
…y/2.1.0/gems/faraday-0.9.0/lib/faraday/
rack_builder.rb: 139:in `build_response'
…uby/2.1.0/gems/faraday-0.9.0/lib/faraday/
connection.rb: 377:in `run_request'
…uby/2.1.0/gems/faraday-0.9.0/lib/faraday/
connection.rb: 140:in `get'
…/bundle/ruby/2.1.0/gems/desk-1.0.3/lib/desk/
request.rb:  51:in `request'
…/bundle/ruby/2.1.0/gems/desk-1.0.3/lib/desk/
request.rb:  18:in `method_missing'
…d/bundle/ruby/2.1.0/gems/desk-1.0.3/lib/desk/
client.rb: 137:in `block (2 levels) in setup_functions'
…n/shared/bundle/ruby/2.1.0/gems/desk-1.0.3/lib/

I have a high amount of requests going to Desk at the moment, so I'm sure I'm hitting the rate limit, but is this failure correct? That it's occurring in Faraday worries me. (If this is inappropriate for this project and needs to be moved to Faraday, just let me know and I'll move)

@chriswarren
Copy link
Owner

@colinc did you run in to this when you were working on the latest version?

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