diegosouzapw/OmniRoute · error
ALL_ACCOUNTS_INACTIVE
ALL_ACCOUNTS_INACTIVE
Error message
Service temporarily unavailable: all upstream accounts are inactive
What it means
Combo routing found its remaining targets exist but every upstream account behind them is inactive (terminal states like banned/expired/credits exhausted), so nothing can serve the request. A 503 ALL_ACCOUNTS_INACTIVE is returned after webhook notification and combo failure recording.
Solutions
- Re-authenticate or replace the inactive accounts in the dashboard
- Clear terminal states after fixing credentials (reset from the connections UI)
- Add at least one active account/connection to the combo's providers
Defensive patterns
Strategy: fallback
When it happens
Trigger: Thrown at open-sse/services/combo.ts:2692 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25).
Data as JSON: /api/errors/5048e7d430c366b0.
Report an issue: GitHub.
Appendix: source
Thrown at open-sse/services/combo.ts:2692
"Service temporarily unavailable: all targets were skipped by pre-dispatch filters",
buildComboDiag("all_targets_skipped"),
{ code: "ALL_TARGETS_SKIPPED", type: "service_unavailable" }
),
observedFailure ? allObservedFailuresQuota : null
);
}
notifyWebhookEvent("request.failed", {
combo: combo.name,
reason: "ALL_ACCOUNTS_INACTIVE",
latencyMs,
fallbackCount,
});
recordComboFailure(effectiveSessionId, combo.name);
return errorResponseWithComboDiagnostics(
503,
"Service temporarily unavailable: all upstream accounts are inactive",
buildComboDiag("all_accounts_inactive"),
{ code: "ALL_ACCOUNTS_INACTIVE", type: "service_unavailable" }
);
}
// #10501: derive the terminal HTTP status from the structured per-target
// outcomes instead of `lastStatus` (whichever target happened to fail
// LAST). A 4xx is preserved only when the request itself is genuinely
// invalid across every eligible target; a heterogeneous mix of failure
// classes (e.g. a quality failure + a sibling's 401) normalizes to a
// 5xx-class status reflecting an infra/provider problem, not a client
// error. See comboErrorAggregation.ts::resolveComboTerminalStatus.
const status = resolveComboTerminalStatus(comboErrors, lastStatus);
// #10314: build the terminal message from the structured per-target
// outcomes (each distinct class+reason listed separately) instead of
// mashing a single lastError with raw `[model (status)]` markers. Connection
// identifiers are redacted. Falls back to lastError when no target recorded
// a structured outcome.
const msg = formatComboOutcomes(comboErrors) || lastError || "All combo models unavailable";
View on GitHub (pinned to a179ffed5b)