{"record":{"id":"5048e7d430c366b0","repo":"diegosouzapw/OmniRoute","slug":"all-accounts-inactive","errorCode":"ALL_ACCOUNTS_INACTIVE","errorMessage":"Service temporarily unavailable: all upstream accounts are inactive","messagePattern":"Service temporarily unavailable: all upstream accounts are inactive","errorType":"http","errorClass":null,"httpStatus":503,"severity":"error","filePath":"open-sse/services/combo.ts","lineNumber":2692,"sourceCode":"              \"Service temporarily unavailable: all targets were skipped by pre-dispatch filters\",\n              buildComboDiag(\"all_targets_skipped\"),\n              { code: \"ALL_TARGETS_SKIPPED\", type: \"service_unavailable\" }\n            ),\n            observedFailure ? allObservedFailuresQuota : null\n          );\n        }\n        notifyWebhookEvent(\"request.failed\", {\n          combo: combo.name,\n          reason: \"ALL_ACCOUNTS_INACTIVE\",\n          latencyMs,\n          fallbackCount,\n        });\n        recordComboFailure(effectiveSessionId, combo.name);\n        return errorResponseWithComboDiagnostics(\n          503,\n          \"Service temporarily unavailable: all upstream accounts are inactive\",\n          buildComboDiag(\"all_accounts_inactive\"),\n          { code: \"ALL_ACCOUNTS_INACTIVE\", type: \"service_unavailable\" }\n        );\n      }\n\n      // #10501: derive the terminal HTTP status from the structured per-target\n      // outcomes instead of `lastStatus` (whichever target happened to fail\n      // LAST). A 4xx is preserved only when the request itself is genuinely\n      // invalid across every eligible target; a heterogeneous mix of failure\n      // classes (e.g. a quality failure + a sibling's 401) normalizes to a\n      // 5xx-class status reflecting an infra/provider problem, not a client\n      // error. See comboErrorAggregation.ts::resolveComboTerminalStatus.\n      const status = resolveComboTerminalStatus(comboErrors, lastStatus);\n      // #10314: build the terminal message from the structured per-target\n      // outcomes (each distinct class+reason listed separately) instead of\n      // mashing a single lastError with raw `[model (status)]` markers. Connection\n      // identifiers are redacted. Falls back to lastError when no target recorded\n      // a structured outcome.\n      const msg = formatComboOutcomes(comboErrors) || lastError || \"All combo models unavailable\";\n","sourceCodeStart":2674,"sourceCodeEnd":2710,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/open-sse/services/combo.ts#L2674-L2710","documentation":"Error \"Service temporarily unavailable: all upstream accounts are inactive\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at open-sse/services/combo.ts:2692 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}