diegosouzapw/OmniRoute · error
AUTH_006
AUTH_006
Error message
No credentials for provider
What it means
AUTH_006 (400): a request targeted a provider that has no credentials/connections configured in OmniRoute — the router cannot dispatch because there is nothing to authenticate with. Fires during credential resolution before any upstream call.
Solutions
- Add a connection (OAuth or API key) for the provider in the dashboard
- If using a combo, remove or replace the credential-less target
- Verify the provider id in the request matches a configured provider
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/shared/constants/errorCodes.ts:45 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/2256baf8425e8913.
Report an issue: GitHub.
Appendix: source
Thrown at src/shared/constants/errorCodes.ts:45
export const ERROR_CODES: Record<string, ErrorCodeDef> = {
// ── Auth ──
AUTH_001: {
code: "AUTH_001",
message: "Authentication required",
httpStatus: 401,
category: "AUTH",
},
AUTH_002: { code: "AUTH_002", message: "Invalid API key", httpStatus: 401, category: "AUTH" },
AUTH_003: { code: "AUTH_003", message: "API key expired", httpStatus: 401, category: "AUTH" },
AUTH_004: {
code: "AUTH_004",
message: "Insufficient permissions",
httpStatus: 403,
category: "AUTH",
},
AUTH_005: { code: "AUTH_005", message: "Account locked", httpStatus: 423, category: "AUTH" },
AUTH_006: {
code: "AUTH_006",
message: "No credentials for provider",
httpStatus: 400,
category: "AUTH",
},
AUTH_007: {
code: "AUTH_007",
message: "Session expired (re-login required)",
httpStatus: 401,
category: "AUTH",
},
// ── Proxy ──
PROXY_001: {
code: "PROXY_001",
message: "Proxy connection failed",
httpStatus: 502,
category: "PROXY",
},View on GitHub (pinned to a179ffed5b)