19143469 CustomerApi.Jobs.CategorizeMessageJob
Queue message_categorization
Attempt 3 of 3
Priority 0
Tags ...
Node customer_api@10.10.1.152
Queue Time 00:00.966
Run Time 00:00.120
Inserted 6d ago
Scheduled 6d ago
Completed
Cancelled
Discarded 6d ago

Args

%{
  "account_id" => "35874",
  "message_id" => "b7677bae-d791-4ac4-bd71-6129b3cc3240",
  "session_id" => "971e5b31-b941-4b1c-bcfe-fabcd7f90e6c",
  "spoofing" => false,
  "user_id" => "LoAXbCqlW9e1U4gPT0FcJjhASbl1"
}

Meta

%{"orig_scheduled_at" => 1772210491796613}

Errors

Attempt 3—6d ago

** (Oban.PerformError) CustomerApi.Jobs.CategorizeMessageJob failed with {:error, %OpenaiEx.Error{status_code: nil, name: nil, message: "Connection closed.", body: nil, code: nil, param: nil, type: nil, request_id: nil, request: nil, kind: :api_connection_error}}

Attempt 2—6d ago

** (Oban.PerformError) CustomerApi.Jobs.CategorizeMessageJob failed with {:error, %OpenaiEx.Error{status_code: 400, name: "BadRequestError", message: "Invalid schema for response_format 'response_schema': In context=(), 'required' is required to be supplied and to be an array including every key in properties. Missing 'suggested_category'.", body: %{"code" => "invalid_json_schema", "message" => "Invalid schema for response_format 'response_schema': In context=(), 'required' is required to be supplied and to be an array including every key in properties. Missing 'suggested_category'.", "param" => "text.format.schema", "type" => "invalid_request_error"}, code: "invalid_json_schema", param: "text.format.schema", type: "invalid_request_error", request_id: ["req_208743b6f6b84fec9f41ed43996dec26"], request: nil, kind: :bad_request}}

Attempt 1—6d ago

** (Oban.PerformError) CustomerApi.Jobs.CategorizeMessageJob failed with {:error, %OpenaiEx.Error{status_code: 400, name: "BadRequestError", message: "Invalid schema for response_format 'response_schema': In context=(), 'required' is required to be supplied and to be an array including every key in properties. Missing 'suggested_category'.", body: %{"code" => "invalid_json_schema", "message" => "Invalid schema for response_format 'response_schema': In context=(), 'required' is required to be supplied and to be an array including every key in properties. Missing 'suggested_category'.", "param" => "text.format.schema", "type" => "invalid_request_error"}, code: "invalid_json_schema", param: "text.format.schema", type: "invalid_request_error", request_id: ["req_48b8afd078864bbdbf2a943244e5dd6f"], request: nil, kind: :bad_request}}