# X_SCHEMA_BOUNDS_INVALID

## Means

an array bound no array can satisfy

## Typical cause

a `t.array(items, { min, max })` whose `min` or `max` is not a whole number from 0 up, or whose `min` is above its `max`. Thrown where the array is **declared**, not where a value is parsed: a bound no count satisfies is wrong for every input

## Fix

`t.array(items, { min: 1, max: 20 })` — whole numbers, 0 <= min <= max; omit a bound to leave that side open

[Schema and validation](/error-codes#schema-and-validation)
