t3-innovation-network / OCF-Collab

0 stars 0 forks source link

[Airbrake] [Production] PG::NotNullViolation: ERROR: null value in column "external_id" violates not-null constraint DETAIL: Failing row contains (330c4a54-9299-4aa0-bc0a-3197d565cdc5, null, null, 2024-07-03 16:08:59.663829, 2024-07-03 16:08:59.663829). #50

Open edgarf opened 4 months ago

edgarf commented 4 months ago

Airbrake error: #3173 Airbrake project: OCN RB

Error type: ActiveRecord::NotNullViolation Error message: PG::NotNullViolation: ERROR: null value in column "external_id" violates not-null constraint DETAIL: Failing row contains (330c4a54-9299-4aa0-bc0a-3197d565cdc5, null, null, 2024-07-03 16:08:59.663829, 2024-07-03 16:08:59.663829). Where: sidekiq#ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper Occurred at: Jul 03, 2024 16:08:59 UTC First seen at: Jul 03, 2024 16:08:59 UTC Occurrences: 0 (0 since last deploy on May 08, 2024 07:39:41 UTC) Severity: error

URL: <no information> File: /GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/connection_adapters/postgresql_adapter.rb

Backtrace:

/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/connection_adapters/postgresql_adapter.rb:894:in exec_params
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/connection_adapters/postgresql_adapter.rb:894:in block (2 levels) in exec_no_cache
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/connection_adapters/abstract_adapter.rb:1028:in block in with_raw_connection
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/concurrency/null_lock.rb:9:in synchronize
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/connection_adapters/abstract_adapter.rb:1000:in with_raw_connection
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/connection_adapters/postgresql_adapter.rb:893:in block in exec_no_cache
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/notifications/instrumenter.rb:58:in instrument
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/connection_adapters/abstract_adapter.rb:1143:in log
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/connection_adapters/postgresql_adapter.rb:892:in exec_no_cache
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/connection_adapters/postgresql_adapter.rb:872:in execute_and_clear
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/connection_adapters/postgresql/database_statements.rb:64:in internal_exec_query
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/connection_adapters/abstract/database_statements.rb:153:in exec_insert
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/connection_adapters/postgresql/database_statements.rb:83:in exec_insert
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/connection_adapters/abstract/database_statements.rb:191:in insert
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/connection_adapters/abstract/query_cache.rb:25:in insert
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/persistence.rb:588:in _insert_record
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/persistence.rb:1252:in _create_record
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/counter_cache.rb:187:in _create_record
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/locking/optimistic.rb:84:in _create_record
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/encryption/encryptable_record.rb:184:in _create_record
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/attribute_methods/dirty.rb:240:in _create_record
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/callbacks.rb:445:in block in _create_record
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/callbacks.rb:110:in run_callbacks
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/callbacks.rb:952:in _run_create_callbacks
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/callbacks.rb:445:in _create_record
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/timestamp.rb:114:in _create_record
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/persistence.rb:1221:in create_or_update
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/callbacks.rb:441:in block in create_or_update
/GEM_ROOT/gems/activesupport-7.1.3.2/lib/active_support/callbacks.rb:121:in block in run_callbacks
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/autosave_association.rb:375:in around_save_collection_association
/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/activesupport-7.1.3.2/lib/active_support/callbacks.rb:952:in _run_save_callbacks
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/callbacks.rb:441:in create_or_update
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/timestamp.rb:125:in create_or_update
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/persistence.rb:751:in save!
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/validations.rb:55:in save!
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/transactions.rb:313:in block in save!
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/transactions.rb:365:in block in with_transaction_returning_status
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/connection_adapters/abstract/database_statements.rb:342:in transaction
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/transactions.rb:361:in with_transaction_returning_status
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/transactions.rb:313:in save!
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/suppressor.rb:56:in save!
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/persistence.rb:55:in create!
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/relation.rb:918:in _create!
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/relation.rb:118:in block in create!
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/relation.rb:929:in _scoping
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/relation.rb:467:in scoping
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/relation.rb:118:in create!
/GEM_ROOT/gems/activerecord-7.1.3.2/lib/active_record/relation.rb:229:in block in create_or_find_by!
...
Caused by PG::NotNullViolation: ERROR:  null value in column "external_id" violates not-null constraint
DETAIL:  Failing row contains (330c4a54-9299-4aa0-bc0a-3197d565cdc5, null, null, 2024-07-03 16:08:59.663829, 2024-07-03 16:08:59.663829).

Visit Airbrake error to view the full backtrace.