# X_JOB_EVENT_INVALID

## Means

a waited event failed its schema

## Typical cause

the event found for step.waitForEvent fails the schema of that wait, on a hit or a replay

## Fix

`make the publisher of the event send what the schema of the wait declares, or widen that schema; then x jobs retry <id>`

[Jobs](/error-codes#jobs)
