diegosouzapw/OmniRoute · error
COMBO_002
COMBO_002
Error message
One or more combo fields are invalid
What it means
COMBO_002 (400): the combo body parsed as JSON but one or more fields failed schema validation (wrong type, out-of-range weight, invalid strategy name). The error detail enumerates the offending fields.
Solutions
- Fix each field named in the validation detail
- Use a valid strategy from the 19 supported routing strategies
- Ensure weights/percentages are within documented ranges
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/shared/constants/errorCodes.ts:155 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/c0b0048af8dddf49.
Report an issue: GitHub.
Appendix: source
Thrown at src/shared/constants/errorCodes.ts:155
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",
},
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",View on GitHub (pinned to a179ffed5b)