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

Strava::Errors::Fault: Bad Request #164

Open
dblock opened this issue Jul 20, 2024 · 0 comments
Open

Strava::Errors::Fault: Bad Request #164

dblock opened this issue Jul 20, 2024 · 0 comments
Labels

Comments

@dblock
Copy link
Owner

dblock commented Jul 20, 2024

W, [2024-07-20T13:22:27.187659 #1]  WARN -- : Error in team id=T02EKBW5B, user_id=U019V3KV4N7
E, [2024-07-20T13:22:27.181001 #1] ERROR -- : Strava::Errors::Fault: Bad Request
  /layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/strava-ruby-client-0.4.0/lib/strava/web/raise_error.rb:15:in `on_complete'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/response.rb:12:in `block in call'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/response.rb:65:in `on_complete'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/response.rb:11:in `call'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/request/url_encoded.rb:25:in `call'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/request/multipart.rb:25:in `call'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/rack_builder.rb:153:in `build_response'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/connection.rb:492:in `run_request'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/connection.rb:198:in `get'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/strava-ruby-client-0.4.0/lib/strava/web/request.rb:26:in `request'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/strava-ruby-client-0.4.0/lib/strava/web/request.rb:5:in `get'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/strava-ruby-client-0.4.0/lib/strava/api/cursor.rb:20:in `block in each'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/strava-ruby-client-0.4.0/lib/strava/api/cursor.rb:18:in `loop'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/strava-ruby-client-0.4.0/lib/strava/api/cursor.rb:18:in `each'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/strava-ruby-client-0.4.0/lib/strava/api/client.rb:43:in `paginate'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/strava-ruby-client-0.4.0/lib/strava/api/endpoints/activities.rb:97:in `athlete_activities'
/workspace/slack-strava/models/user.rb:345:in `sync_strava_activities!'
/workspace/slack-strava/models/user.rb:262:in `sync_new_strava_activities!'
/workspace/slack-strava/models/brag.rb:23:in `block (2 levels) in sync_and_brag!'
/workspace/slack-strava/models/brag.rb:3:in `with_strava_error_handler'
/workspace/slack-strava/models/brag.rb:22:in `block in sync_and_brag!'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/mongoid-locker-2.1.0/lib/mongoid/locker.rb:259:in `with_lock'
/workspace/slack-strava/models/brag.rb:21:in `sync_and_brag!'
/workspace/slack-strava/app.rb:132:in `block (2 levels) in users_brag_and_rebrag!'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/mongoid-7.1.2/lib/mongoid/contextual/mongo.rb:710:in `yield_document'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/mongoid-7.1.2/lib/mongoid/contextual/mongo.rb:137:in `block in each'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/mongo-2.12.1/lib/mongo/collection/view/iterable.rb:51:in `block in each'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/mongo-2.12.1/lib/mongo/cursor.rb:163:in `block in each'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/mongo-2.12.1/lib/mongo/cursor.rb:161:in `loop'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/mongo-2.12.1/lib/mongo/cursor.rb:161:in `each'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/mongo-2.12.1/lib/mongo/collection/view/iterable.rb:50:in `each'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/mongoid-7.1.2/lib/mongoid/query_cache.rb:228:in `each'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/mongoid-7.1.2/lib/mongoid/contextual/mongo.rb:136:in `each'
/layers/heroku_ruby/ruby/vendor/ruby-2.7.7/lib/ruby/2.7.0/forwardable.rb:235:in `each'
/workspace/slack-strava/app.rb:131:in `block in users_brag_and_rebrag!'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/mongoid-7.1.2/lib/mongoid/contextual/mongo.rb:710:in `yield_document'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/mongoid-7.1.2/lib/mongoid/contextual/mongo.rb:137:in `block in each'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/mongo-2.12.1/lib/mongo/collection/view/iterable.rb:51:in `block in each'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/mongo-2.12.1/lib/mongo/cursor.rb:163:in `block in each'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/mongo-2.12.1/lib/mongo/cursor.rb:161:in `loop'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/mongo-2.12.1/lib/mongo/cursor.rb:161:in `each'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/mongo-2.12.1/lib/mongo/collection/view/iterable.rb:50:in `each'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/mongoid-7.1.2/lib/mongoid/query_cache.rb:228:in `each'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/mongoid-7.1.2/lib/mongoid/contextual/mongo.rb:136:in `each'
/layers/heroku_ruby/ruby/vendor/ruby-2.7.7/lib/ruby/2.7.0/forwardable.rb:235:in `each'
/workspace/slack-strava/app.rb:124:in `users_brag_and_rebrag!'
/workspace/slack-strava/app.rb:20:in `block (2 levels) in after_start!'
/workspace/slack-strava/app.rb:52:in `block (2 levels) in continuously'
/workspace/slack-strava/app.rb:51:in `loop'
/workspace/slack-strava/app.rb:51:in `block in continuously'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/async-1.26.2/lib/async/task.rb:258:in `block in make_fiber'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/newrelic_rpm-9.7.0/lib/new_relic/agent/tracer.rb:434:in `block (2 levels) in thread_block_with_current_transaction'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/newrelic_rpm-9.7.0/lib/new_relic/agent/tracer.rb:357:in `capture_segment_error'
/layers/heroku_ruby/gems/vendor/bundle/ruby/2.7.0/gems/newrelic_rpm-9.7.0/lib/new_relic/agent/tracer.rb:433:in `block in thread_block_with_current_transaction'
@dblock dblock added the bug? label Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant