19150174
CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue
insight_agents
Attempt
2 of 2
Priority
0
Tags
...
Node
customer_api@10.10.0.242
Queue Time
00:00.210
Run Time
00:00.137
Inserted
6d ago
Scheduled
6d ago
Completed
—
Cancelled
—
Discarded
6d ago
Args
%{
"account_id" => "101559",
"account_insight_agent_id" => "bb37d757-958e-4ac1-9704-b842e626e112"
}
Meta
%{
"deps" => [],
"name" => "execute",
"on_hold" => false,
"orig_scheduled_at" => 1772216400234315,
"partition" => true,
"partition_key" => "6fzDoobyBtaaCRnUmr8iLrMuztK96P6zjH7bjkxP7og",
"recorded" => true,
"structured" => true,
"uniq" => true,
"uniq_bmp" => [1, 0, 2, 3],
"uniq_key" => "VVR+TObWstUJ/SxDGD83Wu8tllP2oj2c++J0rpGxfTo",
"workflow" => true,
"workflow_id" => "019ca054-3969-7df6-93f9-a17562ac2713"
}
Recorded Output
No Recording Yet
Errors
Attempt 2—6d ago
** (Oban.PerformError) CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob 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 1—6d ago
** (Oban.PerformError) CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob failed with {:error, %OpenaiEx.Error{status_code: 400, name: "BadRequestError", message: "Item 'fc_0436065acea3d17d0069a1e05b79dc81969aeceb0f6a47f867' of type 'function_call' was provided without its required 'reasoning' item: 'rs_0436065acea3d17d0069a1e053f4ac81969fde9520e151c91a'.", body: %{"code" => nil, "message" => "Item 'fc_0436065acea3d17d0069a1e05b79dc81969aeceb0f6a47f867' of type 'function_call' was provided without its required 'reasoning' item: 'rs_0436065acea3d17d0069a1e053f4ac81969fde9520e151c91a'.", "param" => "input", "type" => "invalid_request_error"}, code: nil, param: "input", type: "invalid_request_error", request_id: ["req_d3076020dff94fcfb0197bb1e8ca282a"], request: nil, kind: :bad_request}}