# X_BODY_INVALID

## Means

request body failed its schema

## Typical cause

a plain `runtime.ts` route declaring `meta.input` was sent the wrong shape — an action or query answers `X_INPUT_INVALID` instead

## Fix

`x routes --surface api --json` to find the route, then send a body its `meta.input` schema accepts

[HTTP](/error-codes#http)
