diegosouzapw/OmniRoute · error

COMBO_005

COMBO_005

Error message

Combo reference graph is invalid (cycle or excessive depth)

What it means

COMBO_005 (400): the combo's reference graph is invalid — a combo-to-combo include cycle was detected, or nesting depth exceeded the allowed maximum. The graph check runs before persistence to prevent infinite resolution.

Solutions

  1. Break any cycle in combo references (A includes B includes A)
  2. Flatten deeply nested includes below the depth cap
  3. Reference base combos directly instead of chaining
Defensive patterns

Strategy: validation

When it happens

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

Appendix: source

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

    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",
    message: "This combo is managed by Quota Share and cannot be modified here",
    httpStatus: 409,
    category: "COMBO",
  },
  COMBO_007: {
    code: "COMBO_007",
    message: "Combo not found",
    httpStatus: 404,
    category: "COMBO",
  },
  COMBO_008: {
    code: "COMBO_008",

View on GitHub (pinned to a179ffed5b)