Skip to content

[Airbrake] [Production] the server responded with status 400 #95

@edgarf

Description

@edgarf

Airbrake error: #2402
Airbrake project: OCN RB

Error type: Faraday::BadRequestError
Error message: the server responded with status 400
Where: <no information>
Occurred at: Nov 05, 2025 16:05:10 UTC
First seen at: Nov 05, 2025 16:05:10 UTC
Occurrences: 0 (0 since last deploy on <no information>)
Severity: error

URL: <no information>
File: /GEM_ROOT/gems/faraday-1.10.4/lib/faraday/response/raise_error.rb

Backtrace:

/GEM_ROOT/gems/faraday-1.10.4/lib/faraday/response/raise_error.rb:16:in on_complete
/GEM_ROOT/gems/faraday-1.10.4/lib/faraday/middleware.rb:19:in block in call
/GEM_ROOT/gems/faraday-1.10.4/lib/faraday/response.rb:61:in on_complete
/GEM_ROOT/gems/faraday-1.10.4/lib/faraday/middleware.rb:18:in call
/GEM_ROOT/gems/faraday-1.10.4/lib/faraday/rack_builder.rb:154:in build_response
/GEM_ROOT/gems/faraday-1.10.4/lib/faraday/connection.rb:516:in run_request
/GEM_ROOT/gems/faraday-1.10.4/lib/faraday/connection.rb:283:in post
/GEM_ROOT/gems/ruby-openai-7.3.1/lib/openai/http.rb:22:in json_post
/GEM_ROOT/gems/ruby-openai-7.3.1/lib/openai/client.rb:35:in embeddings
/PROJECT_ROOT/app/services/text_embedder.rb:13:in block in embed
/PROJECT_ROOT/app/services/text_embedder.rb:11:in each
/PROJECT_ROOT/app/services/text_embedder.rb:11:in each_slice
/PROJECT_ROOT/app/services/text_embedder.rb:11:in each
/PROJECT_ROOT/app/services/text_embedder.rb:11:in flat_map
/PROJECT_ROOT/app/services/text_embedder.rb:11:in embed
/PROJECT_ROOT/app/services/node_directory_entry_sync.rb:148:in update_competencies!
/PROJECT_ROOT/app/services/node_directory_entry_sync.rb:18:in sync!
/PROJECT_ROOT/app/jobs/node_directory_entry_sync_job.rb:13:in perform
/GEM_ROOT/gems/activejob-8.0.0/lib/active_job/execution.rb:68:in block in _perform_job
/GEM_ROOT/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:120:in block in run_callbacks
/GEM_ROOT/gems/airbrake-13.0.4/lib/airbrake/rails/active_job.rb:22:in block in perform
/GEM_ROOT/gems/airbrake-ruby-6.2.2/lib/airbrake-ruby/benchmark.rb:13:in measure
/GEM_ROOT/gems/airbrake-13.0.4/lib/airbrake/rails/active_job.rb:21:in perform
/GEM_ROOT/gems/airbrake-13.0.4/lib/airbrake/rails/active_job.rb:45:in block (2 levels) in <module:ActiveJob>
/GEM_ROOT/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in instance_exec
/GEM_ROOT/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in block in run_callbacks
/GEM_ROOT/gems/i18n-1.14.6/lib/i18n.rb:353:in with_locale
/GEM_ROOT/gems/activejob-8.0.0/lib/active_job/translation.rb:9:in block (2 levels) in <module:Translation>
/GEM_ROOT/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in instance_exec
/GEM_ROOT/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in block in run_callbacks
/GEM_ROOT/gems/activesupport-8.0.0/lib/active_support/core_ext/time/zones.rb:65:in use_zone
/GEM_ROOT/gems/activejob-8.0.0/lib/active_job/timezones.rb:9:in block (2 levels) in <module:Timezones>
/GEM_ROOT/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in instance_exec
/GEM_ROOT/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:129:in block in run_callbacks
/GEM_ROOT/gems/activesupport-8.0.0/lib/active_support/callbacks.rb:140:in run_callbacks
/GEM_ROOT/gems/activejob-8.0.0/lib/active_job/execution.rb:67:in _perform_job
/GEM_ROOT/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:32:in _perform_job
/GEM_ROOT/gems/activejob-8.0.0/lib/active_job/execution.rb:51:in perform_now
/GEM_ROOT/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in block in perform_now
/GEM_ROOT/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:13:in block in instrument
/GEM_ROOT/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:40:in block in instrument
/GEM_ROOT/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in block in instrument
/GEM_ROOT/gems/activesupport-8.0.0/lib/active_support/notifications/instrumenter.rb:58:in instrument
/GEM_ROOT/gems/activesupport-8.0.0/lib/active_support/notifications.rb:210:in instrument
/GEM_ROOT/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:39:in instrument
/GEM_ROOT/gems/activerecord-8.0.0/lib/active_record/railties/job_runtime.rb:11:in instrument
/GEM_ROOT/gems/activejob-8.0.0/lib/active_job/instrumentation.rb:26:in perform_now
/GEM_ROOT/gems/activejob-8.0.0/lib/active_job/logging.rb:32:in block in perform_now
/GEM_ROOT/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:143:in block in tagged
/GEM_ROOT/gems/activesupport-8.0.0/lib/active_support/tagged_logging.rb:38:in tagged
...

Visit Airbrake error to view the full backtrace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions