diegosouzapw/OmniRoute · error

PROVIDER_003

PROVIDER_003

Error message

Provider not configured

What it means

PROVIDER_003 (400): the request names a provider that exists in the catalog but has no usable configuration in this instance (not enabled, no executor config, missing setup). Fails fast before credential resolution.

Solutions

  1. Complete the provider setup in the dashboard
  2. Enable the provider or add required configuration
  3. Use a provider that is fully configured
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at src/shared/constants/errorCodes.ts:121 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/9eb21ca9cd5c5689. Report an issue: GitHub.

Appendix: source

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

    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",
  },
  PROVIDER_003: {
    code: "PROVIDER_003",
    message: "Provider not configured",
    httpStatus: 400,
    category: "PROVIDER",
  },

  // ── Validation ──
  VALID_001: {
    code: "VALID_001",
    message: "Invalid request body",
    httpStatus: 400,
    category: "VALIDATION",
  },
  VALID_002: {
    code: "VALID_002",
    message: "Missing required field",
    httpStatus: 400,
    category: "VALIDATION",
  },

View on GitHub (pinned to a179ffed5b)