diegosouzapw/OmniRoute · error

COMBO_004

COMBO_004

Error message

A combo with this name already exists

What it means

Canonical error-code entry COMBO_004 (HTTP 400, COMBO category): combo creation/update was rejected because another combo already uses the requested name — names are unique. Part of the T-22.b standardized 400 shape for /api/combos endpoints.

Solutions

  1. Pick a different combo name
  2. Delete or rename the existing combo first
  3. Append a suffix to disambiguate
Defensive patterns

Strategy: validation

When it happens

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

Appendix: source

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

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

View on GitHub (pinned to a179ffed5b)