{"record":{"id":"42d278bf2c88c851","repo":"diegosouzapw/OmniRoute","slug":"valid-001","errorCode":"VALID_001","errorMessage":"Invalid request body","messagePattern":"Invalid request body","errorType":"error_code","errorClass":null,"httpStatus":400,"severity":"error","filePath":"src/shared/constants/errorCodes.ts","lineNumber":129,"sourceCode":"    httpStatus: 502,\n    category: \"PROVIDER\",\n  },\n  PROVIDER_002: {\n    code: \"PROVIDER_002\",\n    message: \"Provider timeout\",\n    httpStatus: 504,\n    category: \"PROVIDER\",\n  },\n  PROVIDER_003: {\n    code: \"PROVIDER_003\",\n    message: \"Provider not configured\",\n    httpStatus: 400,\n    category: \"PROVIDER\",\n  },\n\n  // ── Validation ──\n  VALID_001: {\n    code: \"VALID_001\",\n    message: \"Invalid request body\",\n    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}) ──","sourceCodeStart":111,"sourceCodeEnd":147,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/shared/constants/errorCodes.ts#L111-L147","documentation":"Canonical error-code entry VALID_001 (HTTP 400, VALIDATION category): the request body failed schema validation or could not be parsed as the expected shape. Raised by the Zod validation layer before any handler/business logic runs.","triggerScenarios":"Thrown at src/shared/constants/errorCodes.ts:129 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Send a JSON body with the documented request schema","Check Content-Type is application/json","Validate payload against the endpoint's Zod/OpenAPI schema"],"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"}