# X_CONSUMER_INVALID

## Means

a consumer() declaration cannot be run as declared

## Typical cause

consumer() declared without cursor.load and cursor.save, with a timeout, with a batch that is not a whole number, or with a rearm that is not whole minutes dividing an hour

## Fix

`consumer({ name, tenant, keys, open, handle, cursor: { load, save } }) with no timeout`

[Jobs](/error-codes#jobs)
