diegosouzapw/OmniRoute · error

MODEL_003

MODEL_003

Error message

Model temporarily unavailable

What it means

MODEL_003 (503): the model exists but all routes to it are temporarily unavailable — provider outage, model lockout on the serving connections, or breaker open. Transient; expected to recover without config changes.

Solutions

  1. Retry after a short backoff
  2. Use a combo fallback with an equivalent model
  3. Check monitoring/health page for the provider status
Defensive patterns

Strategy: retry

When it happens

Trigger: Thrown at src/shared/constants/errorCodes.ts:101 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/09fd85a2a8ace717. Report an issue: GitHub.

Appendix: source

Thrown at src/shared/constants/errorCodes.ts:101

    category: "RATE_LIMIT",
  },
  RATE_003: {
    code: "RATE_003",
    message: "All accounts rate-limited",
    httpStatus: 503,
    category: "RATE_LIMIT",
  },

  // ── Model / Routing ──
  MODEL_001: { code: "MODEL_001", message: "Model not found", httpStatus: 404, category: "MODEL" },
  MODEL_002: {
    code: "MODEL_002",
    message: "Ambiguous model identifier",
    httpStatus: 400,
    category: "MODEL",
  },
  MODEL_003: {
    code: "MODEL_003",
    message: "Model temporarily unavailable",
    httpStatus: 503,
    category: "MODEL",
  },

  // ── Provider ──
  PROVIDER_001: {
    code: "PROVIDER_001",
    message: "Provider error",
    httpStatus: 502,
    category: "PROVIDER",
  },
  PROVIDER_002: {
    code: "PROVIDER_002",
    message: "Provider timeout",
    httpStatus: 504,
    category: "PROVIDER",
  },

View on GitHub (pinned to a179ffed5b)