# X_QUERY_NOT_SUBSCRIBABLE

## Means

retired in 21.0.0 (liveHookFor was deleted; useQuery reads any query): a hook was bound to a query that is not declared live

## Typical cause

**registered, thrown by nothing since 21.0.0.** `liveHookFor` is deleted, and `useQuery` reads a live and a non-live query alike: live-ness is on the declaration

## Fix

delete any branch matching this code, because it never runs. Use `useQuery({ name, live: true }, input)`

[Realtime](/error-codes#realtime)
