ErrLookup › colinhacks/zod

colinhacks/zod

TypeScript-first schema validation with static type inference · TypeScript · ★ 43,393

Analyzed at 912f0f51b0 on 2026-08-03. 65 documented errors.

Code / MessageTypeSeverityTags
Not a ZodError: ${value}
exception error zoderror, type-narrowing, assertion
Can't use "invalid_type_error" or "required_error" in conjun
exception error errormap, schema-construction, v3
Synchronous parse encountered promise.
exception error async, parse, v3
A discriminator value for key `${discriminator}` could not b
exception error discriminated-union, literal, v3
Discriminator property ${String(discriminator)} has duplicat
exception error discriminated-union, duplicate, v3
You must pass an array of schemas to z.tuple([ ... ])
exception error tuple, schema-construction, v3
Async refinement encountered during synchronous parse operat
exception error refinement, async, effects, v3
Asynchronous transform encountered during synchronous parse
exception error transform, async, effects, v3
External $ref is not supported, only local refs (#/...) are
exception error json-schema, ref, v4, from-json-schema
Reference not found: ${ref}
exception error json-schema, ref, v4, from-json-schema
not is not supported in Zod (except { not: {} } for never)
exception error json-schema, not, unsupported, v4, from-json-schema
unevaluatedItems is not supported
exception error json-schema, unevaluateditems, unsupported, v4, from-json-schema
unevaluatedProperties is not supported
exception error json-schema, unevaluatedproperties, unsupported, v4, from-json-schema
Conditional schemas (if/then/else) are not supported
exception error json-schema, if-then-else, conditional, unsupported, v4, from-json-schema
dependentSchemas and dependentRequired are not supported
exception error json-schema, dependent, unsupported, v4, from-json-schema
Circular reference not resolved: ${refPath}
exception error json-schema, circular, recursive, lazy, v4, from-json-schema
Unsupported type: ${type}
exception error json-schema, type, unsupported, v4, from-json-schema
fromJSONSchema input is not valid JSON (possibly cyclic); us
exception error json-schema, circular, serialization, v4, from-json-schema
Unrecognized hash format: ${format}
exception error hash, string-format, v4, schemas
Key ${value} not found in enum
exception error enum, refactoring, typo, construction-time
This schema contains multiple valid literal values. Use `.va
exception error literal, v4-migration, multi-value, api-change
Cannot mix number and bigint in multiple_of check.
exception error bigint, number, multiple-of, type-mismatch, parse-time
BigInt cannot be represented in JSON Schema
exception error json-schema, bigint, unrepresentable, openapi
Symbols cannot be represented in JSON Schema
exception error json-schema, symbol, unrepresentable, openapi
Undefined cannot be represented in JSON Schema
exception error json-schema, undefined, unrepresentable, openapi
Void cannot be represented in JSON Schema
exception error json-schema, void, unrepresentable, openapi
Date cannot be represented in JSON Schema
exception error json-schema, date, unrepresentable, openapi, datetime
Literal `undefined` cannot be represented in JSON Schema
exception error json-schema, literal, undefined, unrepresentable
BigInt literals cannot be represented in JSON Schema
exception error json-schema, literal, bigint, unrepresentable, precision
NaN cannot be represented in JSON Schema
exception error json-schema, nan, number, unrepresentable
Custom types cannot be represented in JSON Schema
exception error json-schema, custom, unrepresentable, openapi
Function types cannot be represented in JSON Schema
exception error json-schema, function, unrepresentable, openapi
Transforms cannot be represented in JSON Schema
exception error json-schema, transform, unrepresentable, openapi
Map cannot be represented in JSON Schema
exception error json-schema, map, record, unrepresentable, openapi
Set cannot be represented in JSON Schema
exception error json-schema, set, array, unrepresentable, openapi
Dynamic catch values are not supported in JSON Schema
exception error json-schema, catch, dynamic-default, unrepresentable
Invalid UUID version: "${def.version}"
exception error uuid, validation, construction-time, config
Invalid element at key "${k}": expected a Zod schema
exception error object, shape, construction-time, schema-mistake
Invalid discriminated union option at index "${def.options.i
exception error discriminated-union, schema-definition, validation
Invalid discriminated union option at index "${def.options.i
exception error discriminated-union, schema-definition, validation
Duplicate discriminator value "${String(v)}"
exception error discriminated-union, schema-definition, validation
Unmergable intersection. Error path: ${JSON.stringify(merged
exception error intersection, parse-time, validation
Async schemas not supported in object keys currently
exception error record, async, schema-definition
Cannot create literal schema with no valid values
exception error literal, schema-definition, validation
Invalid template literal part, no pattern found: ${[...(part
exception error template-literal, schema-definition, regex
Invalid template literal part: ${part._zod.traits}
exception error template-literal, schema-definition, regex
Invalid template literal part: ${part}
exception error template-literal, schema-definition, validation
implement() must be called with a function
exception error function-schema, api-misuse, validation
implementAsync() must be called with a function
exception error function-schema, async, api-misuse
[toJSONSchema]: Non-representable type encountered: ${def.ty
exception error json-schema, conversion, custom-schema
Duplicate schema id "${id}" detected during JSON Schema conv
exception error json-schema, conversion, meta, duplicate-id
Cycle detected: #/${seen.cycle?.join("/")}/<root> Set the `
exception error json-schema, conversion, recursion, cycles
Schema is missing an `id` property
exception error json-schema, conversion, external, meta
Error converting schema to JSON.
exception error json-schema, conversion, serialization, cycles
Cannot specify both `message` and `error` params
exception error params, schema-definition, api-misuse
.pick() cannot be used on object schemas containing refineme
exception error object, pick, refinement, schema-definition
Unrecognized key: "${key}"
exception error zod, object-schema, pick, typo
.omit() cannot be used on object schemas containing refineme
exception error zod, object-schema, omit, refinement
Invalid input to extend: expected a plain object
exception error zod, object-schema, extend, type-error
Cannot overwrite keys on object schemas containing refinemen
exception error zod, object-schema, extend, refinement
Invalid input to safeExtend: expected a plain object
exception error zod, object-schema, safeextend, type-error
.merge() cannot be used on object schemas containing refinem
exception error zod, object-schema, merge, refinement
.partial() cannot be used on object schemas containing refin
exception error zod, object-schema, partial, refinement
Invalid hex string length
exception error zod, hex, encoding, validation
Unrecognized hash format: ${format}
exception error zod, mini, hash, validation