# X_ROLE_INVALID

## Means

`ROLE` is not a known runtime role

## Typical cause

typo or an old role name in the env

## Fix

set `ROLE` to `web`, `sync`, `worker`, `scheduler`, `migrate` or `replicator`

[Core and runtime](/error-codes#core-and-runtime)
