t3-innovation-network / OCF-Collab

0 stars 0 forks source link

[Airbrake] [Production] Couldn't find Competency with [WHERE "competencies"."external_id" = $1] #53

Open edgarf opened 3 months ago

edgarf commented 3 months ago

Airbrake error: #2551 Airbrake project: OCN RB

Error type: ActiveRecord::RecordNotFound Error message: Couldn't find Competency with [WHERE "competencies"."external_id" = $1] Where: competencies#asset_file Occurred at: Aug 05, 2024 18:49:35 UTC First seen at: Aug 05, 2024 18:49:35 UTC Occurrences: 0 (0 since last deploy on Aug 01, 2024 12:23:51 UTC) Severity: error

URL: https://broker.ocf-collab.org/competencies/asset_file?id=https:/credentialengineregistry.org/resources/ce-cfdf3366-9f8a-47e7-9a85-328251283759 File: /GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/relation/finder_methods.rb

Backtrace:

/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/relation/finder_methods.rb:413:in raise_record_not_found_exception!
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/core.rb:304:in find_by!
/PROJECT_ROOT/app/controllers/brokerage/competencies_controller.rb:14:in block in asset_file
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:135:in block in tagged
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:39:in tagged
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:135:in tagged
/PROJECT_ROOT/app/controllers/brokerage/competencies_controller.rb:4:in asset_file
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_controller/metal/basic_implicit_render.rb:6:in send_action
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/abstract_controller/base.rb:224:in process_action
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_controller/metal/rendering.rb:165:in process_action
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/abstract_controller/callbacks.rb:259:in block in process_action
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/callbacks.rb:121:in block in run_callbacks
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:135:in block in tagged
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:39:in tagged
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/tagged_logging.rb:135:in tagged
/PROJECT_ROOT/app/controllers/brokerage/base_controller.rb:25:in tag_transaction_logger
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/callbacks.rb:130:in block in run_callbacks
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/callbacks.rb:141:in run_callbacks
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/abstract_controller/callbacks.rb:258:in process_action
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_controller/metal/rescue.rb:25:in process_action
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_controller/metal/instrumentation.rb:74:in block in process_action
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/notifications.rb:206:in block in instrument
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/notifications/instrumenter.rb:58:in instrument
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/notifications.rb:206:in instrument
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_controller/metal/instrumentation.rb:73:in process_action
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_controller/metal/params_wrapper.rb:261:in process_action
/GEM_ROOT/gems/searchkick-5.2.1/lib/searchkick/controller_runtime.rb:15:in process_action
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/railties/controller_runtime.rb:32:in process_action
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/abstract_controller/base.rb:160:in process
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_controller/metal.rb:227:in dispatch
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_controller/metal.rb:309:in dispatch
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/routing/route_set.rb:49:in dispatch
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/routing/route_set.rb:32:in serve
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/journey/router.rb:51:in block in serve
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/journey/router.rb:131:in block in find_routes
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/journey/router.rb:124:in each
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/journey/router.rb:124:in find_routes
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/journey/router.rb:32:in serve
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/routing/route_set.rb:882:in call
/GEM_ROOT/gems/rack-2.2.9/lib/rack/tempfile_reaper.rb:15:in call
/GEM_ROOT/gems/rack-2.2.9/lib/rack/etag.rb:27:in call
/GEM_ROOT/gems/rack-2.2.9/lib/rack/conditional_get.rb:27:in call
/GEM_ROOT/gems/rack-2.2.9/lib/rack/head.rb:12:in call
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/http/permissions_policy.rb:36:in call
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/http/content_security_policy.rb:33:in call
/GEM_ROOT/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:266:in context
/GEM_ROOT/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:260:in call
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/middleware/cookies.rb:689:in call
/GEM_ROOT/gems/actionpack-7.1.3.2/lib/action_dispatch/middleware/callbacks.rb:29:in block in call
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/callbacks.rb:101:in run_callbacks
...

Visit Airbrake error to view the full backtrace.