ErrLookup › colinhacks/zod
colinhacks/zod
TypeScript-first schema validation with static type inference · TypeScript · 182 source files
Analyzed at 2d90846af9 on 2026-08-11. 64 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Invalid discriminated union option at index | exception | error | discriminated-union, schema-construction, discriminator, propvalues |
| Not a ZodError | exception | error | zoderror, assertion, runtime, instanceof |
| Invalid template literal part, no pattern found | exception | error | template-literal, schema-construction, regex, pattern |
| Unsupported type | exception | error | json-schema, from-json-schema, conversion, unsupported, type |
| Can't use "invalid_type_error" or "required_error" in… | exception | error | schema-construction, error-map, params, configuration |
| Unmergable intersection. Error path | exception | error | intersection, runtime, merge, types |
| unevaluatedProperties is not supported | exception | error | json-schema, from-json-schema, conversion, unsupported, object |
| Circular reference not resolved | exception | error | json-schema, from-json-schema, conversion, circular-ref, recursive, lazy |
| Async schemas not supported in object keys currently | exception | error | record, async, object-keys, runtime |
| Cycle detected: #/ / Set the `cycles` parameter to `"ref"`… | exception | warning | json-schema, conversion, cycle, recursive, lazy, ref |
| fromJSONSchema input is not valid JSON (possibly cyclic)… | exception | error | json-schema, from-json-schema, recursion, serialization |
| A discriminator value for key | exception | error | discriminated-union, schema-construction, literal, discriminator |
| Synchronous parse encountered promise. | exception | error | async, parse, refine, transform, sync |
| [toJSONSchema]: Non-representable type encountered | exception | error | json-schema, conversion, custom-schema, unrepresentable |
| Invalid template literal part | exception | error | template-literal, schema-construction, regex, pattern, custom-schema |
| Cannot create literal schema with no valid values | exception | error | literal, schema-construction, validation |
| Cannot specify both `message` and `error` params | exception | error | api-misuse, params, migration, zod-v4 |
| Duplicate schema id " " detected during JSON Schema… | exception | error | json-schema, conversion, id, duplicate, metadata |
| Invalid element at key | exception | error | object, schema-construction, shape, type-guard |
| unevaluatedItems is not supported | exception | error | json-schema, from-json-schema, conversion, unsupported, array |
| Error converting schema to JSON. | exception | error | json-schema, conversion, serialization, cycle, metadata |
| Reference not found | exception | error | json-schema, ref, from-json-schema, conversion, missing-definition |
| implement() must be called with a function | exception | error | function, implement, schema-construction, type-guard |
| Unrecognized hash format | exception | error | hash, string-format, schema-construction, validation |
invalid_return_type Invalid function return type | validation | error | z-function, return-type, validation, runtime |
| Dynamic catch values are not supported in JSON Schema | exception | error | json-schema, catch, default, unrepresentable, to-json-schema |
| Duplicate discriminator value | exception | error | discriminated-union, schema-construction, discriminator, duplicate |
| Cannot overwrite keys on object schemas containing… | exception | error | schema-transformation, extend, refinement, object-schema, zod-v4 |
| .pick() cannot be used on object schemas containing… | exception | error | schema-transformation, refinement, object-schema, zod-v4 |
| Schema is missing an `id` property | exception | error | json-schema, conversion, external, registry, id |
| You must pass an array of schemas to z.tuple([ ... ]) | exception | error | tuple, schema-construction, api-usage, arguments |
| dependentSchemas and dependentRequired are not supported | exception | error | json-schema, from-json-schema, conversion, unsupported, dependencies |
| Conditional schemas (if/then/else) are not supported | exception | error | json-schema, from-json-schema, conversion, unsupported, conditional |
invalid_arguments Invalid function arguments | validation | error | z-function, arguments, validation, runtime |
| Invalid UUID version | exception | error | uuid, schema-construction, validation, regex |
| not is not supported in Zod | exception | error | json-schema, from-json-schema, conversion, unsupported, not |
| External $ref is not supported, only local refs (#/...) are… | exception | error | json-schema, ref, from-json-schema, conversion, external |
| Async refinement encountered during synchronous parse… | exception | error | async, refine, parse, sync, effects |
| Discriminator property | exception | error | discriminated-union, schema-construction, duplicate, discriminator |
| .merge() cannot be used on object schemas containing… | exception | error | schema-transformation, merge, refinement, object-schema, zod-v4 |
| This schema contains multiple valid literal values. Use… | exception | error | literal, api-misuse, migration, schema-construction |
| Invalid input to safeExtend: expected a plain object | exception | error | schema-transformation, safe-extend, type-validation, object-schema, zod-v4 |
| Transforms cannot be represented in JSON Schema | exception | error | json-schema, transform, pipe, unrepresentable, to-json-schema |
| Invalid hex string length | exception | error | codec, hex, validation, input-validation, zod-v4 |
| Invalid input to extend: expected a plain object | exception | error | schema-transformation, extend, type-validation, object-schema, zod-v4 |
| BigInt cannot be represented in JSON Schema | exception | error | json-schema, bigint, unrepresentable, to-json-schema |
| implementAsync() must be called with a function | exception | error | function, implement-async, schema-construction, type-guard |
| .partial() cannot be used on object schemas containing… | exception | error | schema-transformation, partial, refinement, object-schema, zod-v4 |
| Date cannot be represented in JSON Schema | exception | error | json-schema, date, unrepresentable, to-json-schema, openapi |
| Asynchronous transform encountered during synchronous parse… | exception | error | async, transform, parse, sync, effects |
| Literal `undefined` cannot be represented in JSON Schema | exception | error | json-schema, literal, undefined, unrepresentable, to-json-schema |
| Cannot mix number and bigint in multiple_of check. | exception | error | multiple-of, bigint, number, parse-time, type-mismatch |
| Undefined cannot be represented in JSON Schema | exception | error | json-schema, undefined, unrepresentable, to-json-schema |
| Unrecognized key | exception | error | schema-transformation, pick, typo, object-schema, zod-v4 |
| Map cannot be represented in JSON Schema | exception | error | json-schema, map, record, unrepresentable, to-json-schema |
| Custom types cannot be represented in JSON Schema | exception | error | json-schema, custom, refine, unrepresentable, to-json-schema |
| .omit() cannot be used on object schemas containing… | exception | error | schema-transformation, omit, refinement, object-schema, zod-v4 |
| Set cannot be represented in JSON Schema | exception | error | json-schema, set, array, unrepresentable, to-json-schema |
| Key not found in enum | exception | error | enum, schema-construction, api-misuse |
| Symbols cannot be represented in JSON Schema | exception | error | json-schema, symbol, unrepresentable, to-json-schema |
| BigInt literals cannot be represented in JSON Schema | exception | error | json-schema, literal, bigint, unrepresentable, to-json-schema |
| Function types cannot be represented in JSON Schema | exception | error | json-schema, function, unrepresentable, to-json-schema, rpc |
| Void cannot be represented in JSON Schema | exception | error | json-schema, void, unrepresentable, to-json-schema |
| NaN cannot be represented in JSON Schema | exception | error | json-schema, nan, unrepresentable, to-json-schema |