{"record":{"id":"505021c27b80304e","repo":"diegosouzapw/OmniRoute","slug":"no-connected-providers-with-valid-credentials-for","errorCode":null,"errorMessage":"No connected providers with valid credentials for virtual auto-combo","messagePattern":"No connected providers with valid credentials for virtual auto-combo","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"open-sse/services/autoCombo/virtualFactory.ts","lineNumber":879,"sourceCode":"  // apiKeyId/autoChannel (every caller before #7819) or a DB lookup failure\n  // both leave the pool untouched, so default (unconfigured) routing stays\n  // byte-identical to pre-#7819 behavior.\n  let excludedConnectionIds: Set<string> = new Set();\n  if (apiKeyId && autoChannel) {\n    try {\n      excludedConnectionIds = await getExcludedConnectionIds(apiKeyId, autoChannel);\n    } catch (err) {\n      log.warn(\"AUTO\", \"Failed to load auto-candidate overrides; routing unfiltered\", { err });\n    }\n  }\n  const overrideFilteredPool = filterExcludedCandidates(candidatePool, excludedConnectionIds);\n  if (overrideFilteredPool !== candidatePool) {\n    candidatePool.length = 0;\n    candidatePool.push(...overrideFilteredPool);\n  }\n\n  if (candidatePool.length === 0) {\n    log.warn(\"AUTO\", \"No connected providers with valid credentials for virtual auto-combo\");\n    const emptyPool: string[] = [];\n    const autoConfig = {\n      candidatePool: emptyPool,\n      weights: { ...DEFAULT_WEIGHTS },\n      explorationRate: 0.05,\n      routerStrategy: \"lkgp\",\n    };\n    return {\n      id: `virtual-auto-${variant || \"default\"}`,\n      name: `Auto ${variant || \"Default\"}`,\n      type: \"auto\" as const,\n      strategy: \"auto\",\n      models: [],\n      candidatePool: emptyPool,\n      weights: autoConfig.weights,\n      explorationRate: autoConfig.explorationRate,\n      routerStrategy: autoConfig.routerStrategy,\n      autoConfig,","sourceCodeStart":861,"sourceCodeEnd":897,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/open-sse/services/autoCombo/virtualFactory.ts#L861-L897","documentation":"Error \"No connected providers with valid credentials for virtual auto-combo\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at open-sse/services/autoCombo/virtualFactory.ts:879 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"}