{"record":{"id":"34212599e7aa161b","repo":"diegosouzapw/OmniRoute","slug":"combo-001","errorCode":"COMBO_001","errorMessage":"Request body is not valid JSON","messagePattern":"Request body is not valid JSON","errorType":"error_code","errorClass":null,"httpStatus":400,"severity":"error","filePath":"src/shared/constants/errorCodes.ts","lineNumber":149,"sourceCode":"    httpStatus: 400,\n    category: \"VALIDATION\",\n  },\n  VALID_002: {\n    code: \"VALID_002\",\n    message: \"Missing required field\",\n    httpStatus: 400,\n    category: \"VALIDATION\",\n  },\n  VALID_003: {\n    code: \"VALID_003\",\n    message: \"Input sanitization blocked\",\n    httpStatus: 400,\n    category: \"VALIDATION\",\n  },\n\n  // ── Combos (T-22.b — 400-shape standardization for /api/combos/{id}) ──\n  COMBO_001: {\n    code: \"COMBO_001\",\n    message: \"Request body is not valid JSON\",\n    httpStatus: 400,\n    category: \"COMBO\",\n  },\n  COMBO_002: {\n    code: \"COMBO_002\",\n    message: \"One or more combo fields are invalid\",\n    httpStatus: 400,\n    category: \"COMBO\",\n  },\n  COMBO_003: {\n    code: \"COMBO_003\",\n    message: \"Composite tier configuration is invalid\",\n    httpStatus: 400,\n    category: \"COMBO\",\n  },\n  COMBO_004: {\n    code: \"COMBO_004\",","sourceCodeStart":131,"sourceCodeEnd":167,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/shared/constants/errorCodes.ts#L131-L167","documentation":"COMBO_001 (400): the /api/combos/{id} endpoint could not JSON.parse the request body — malformed JSON syntax (trailing commas, truncation, wrong content-type). Standardized 400-shape for combo management routes.","triggerScenarios":"Thrown at src/shared/constants/errorCodes.ts:149 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Send syntactically valid JSON with application/json content-type","Lint the payload before sending","Do not send form-encoded or text bodies to combo endpoints"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}