hackclub / hackathons-backend

Powering https://hackathons.hackclub.com

Home Page:https://hackathons.hackclub.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Records not found error in jobs

appsignal opened this issue · comments

Message

  Error while trying to deserialize arguments: Couldn't find User::Authentication with 'id'=1

Backtrace (last 10 lines)

activerecord/lib/active_record/relation/finder_methods.rb:393 raise_record_not_found_exception!
activerecord/lib/active_record/relation/finder_methods.rb:499 find_one
activerecord/lib/active_record/relation/finder_methods.rb:476 find_with_ids
activerecord/lib/active_record/relation/finder_methods.rb:69 find
lib/hashid/rails.rb:95 find
activerecord/lib/active_record/querying.rb:23 find
activerecord/lib/active_record/core.rb:246 find
lib/hashid/rails.rb:95 find
lib/global_id/locator.rb:129 locate
lib/global_id/locator.rb:154 block in locate

View on AppSignal: https://appsignal.com/hack-club/sites/64dc848fd2a5e4d7b35c5ca2/exceptions/incidents/14

image

There doesn't appear to be a id=1. maybe it was deleted?

I've deleted the re-trying job from sidekiq.

Feel free to close this issue. we can re-open if it pops up again (it shouldn't; at least for User Auth mailer since those are deliver_now)