# X_QUERY_HTTP_PATH_INVALID

## Means

a query's pinned http.path is not a valid path template

## Typical cause

the pin is not a lowercase path of static or :param segments, claims /_x, repeats a :param, names a :param that is not a required string key of input:, or declares a method other than GET

## Fix

`pin a template whose every :param is a required t.string key of input: — query({ input: t.object({ id: t.string }), http: { path: '/orders/:id' }, ... }) — never under /_x`

[Queries and live queries](/error-codes#queries-and-live-queries)
