diegosouzapw/OmniRoute · error

VALID_003

VALID_003

Error message

Input sanitization blocked

What it means

Error "Input sanitization blocked" thrown in diegosouzapw/OmniRoute.

Source

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

    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",
  },
  VALID_003: {
    code: "VALID_003",
    message: "Input sanitization blocked",
    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",
  },

View on GitHub (pinned to a179ffed5b)

When it happens

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