19143420 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 2 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.126
Queue Time 00:00.679
Run Time 00:20.885
Inserted 6d ago
Scheduled 6d ago
Completed
Cancelled
Discarded 6d ago

Args

%{
  "account_id" => "94742",
  "account_insight_agent_id" => "28c63faf-d520-4bca-9df2-6f982ef046be"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "orig_scheduled_at" => 1772210400655182,
  "partition" => true,
  "partition_key" => "q7MxR6YwNMgLx3r8Y66kpjyX7teh/ISLSKbu/XIHazs",
  "recorded" => true,
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "PekYYgABxEs8JFadbzdeAF+eAdvmOL0LVPVX/N63oc8",
  "workflow" => true,
  "workflow_id" => "019c9ff8-ad8e-71a4-a4a0-d7fdc0464f27"
}

Recorded Output

No Recording Yet

Errors

Attempt 2—6d ago

** (Oban.PerformError) CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob failed with {:error, %OpenaiEx.Error{status_code: 400, name: "BadRequestError", message: "Item 'fc_0a11eb8a034708300069a1c929eca4819ea8db47477bd2d0b9' of type 'function_call' was provided without its required 'reasoning' item: 'rs_0a11eb8a034708300069a1c91c7750819e8177c317fc599639'.", body: %{"code" => nil, "message" => "Item 'fc_0a11eb8a034708300069a1c929eca4819ea8db47477bd2d0b9' of type 'function_call' was provided without its required 'reasoning' item: 'rs_0a11eb8a034708300069a1c91c7750819e8177c317fc599639'.", "param" => "input", "type" => "invalid_request_error"}, code: nil, param: "input", type: "invalid_request_error", request_id: ["req_d8ed4a7992ea459da497674b3fa8f431"], request: nil, kind: :bad_request}}

Attempt 1—6d ago

** (Oban.PerformError) CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob failed with {:error, %OpenaiEx.Error{status_code: 400, name: "BadRequestError", message: "Item 'fc_0d0abeaff54607de0069a1c90366488197bc1a64cdee283bc8' of type 'function_call' was provided without its required 'reasoning' item: 'rs_0d0abeaff54607de0069a1c8e604d08197be4b1181cfadaf09'.", body: %{"code" => nil, "message" => "Item 'fc_0d0abeaff54607de0069a1c90366488197bc1a64cdee283bc8' of type 'function_call' was provided without its required 'reasoning' item: 'rs_0d0abeaff54607de0069a1c8e604d08197be4b1181cfadaf09'.", "param" => "input", "type" => "invalid_request_error"}, code: nil, param: "input", type: "invalid_request_error", request_id: ["req_c2cef2201384443b8a1ed27f1faad272"], request: nil, kind: :bad_request}}