# X_ROUTE_LOAD_INVALID

## Means

a route declared a `load` that is not a function

## Typical cause

`load: someData` instead of `load: () => someData`

## Fix

make `load` a function of `({ params, url })` returning the page data, or remove it

[Routes, render and budgets](/error-codes#routes-render-and-budgets)
