diegosouzapw/OmniRoute · error

COMBO_003

COMBO_003

Error message

Composite tier configuration is invalid

What it means

COMBO_003 (400): the composite-tier block of the combo definition is structurally invalid — malformed tier array, missing tier thresholds, or inconsistent tier configuration that prevents tier resolution.

Solutions

  1. Rebuild the composite tier block following the tier schema
  2. Ensure each tier has valid targets and thresholds
  3. Simplify to a flat combo if composite tiers are not needed
Defensive patterns

Strategy: validation

When it happens

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

Appendix: source

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

    httpStatus: 400,
    category: "VALIDATION",
  },

  // ── Combos (T-22.b — 400-shape standardization for /api/combos/{id}) ──
  COMBO_001: {
    code: "COMBO_001",
    message: "Request body is not valid JSON",
    httpStatus: 400,
    category: "COMBO",
  },
  COMBO_002: {
    code: "COMBO_002",
    message: "One or more combo fields are invalid",
    httpStatus: 400,
    category: "COMBO",
  },
  COMBO_003: {
    code: "COMBO_003",
    message: "Composite tier configuration is invalid",
    httpStatus: 400,
    category: "COMBO",
  },
  COMBO_004: {
    code: "COMBO_004",
    message: "A combo with this name already exists",
    httpStatus: 400,
    category: "COMBO",
  },
  COMBO_005: {
    code: "COMBO_005",
    message: "Combo reference graph is invalid (cycle or excessive depth)",
    httpStatus: 400,
    category: "COMBO",
  },
  COMBO_006: {
    code: "COMBO_006",

View on GitHub (pinned to a179ffed5b)