Docs

invalid_operator

400 invalid_request. The filter or sort uses an operator this field type does not support.

View as Markdown
HTTP statustypeSurfaces
400invalid_requestREST, GraphQL

What it means

The filter or sort uses an operator this field type does not support.

WhenWhat the hint tells you
an operator the type does not take, or an unsortable field in sortthe operators that type does take, or the sortable types

What to do

Use one of the operators the hint lists for that field.

On GraphQL

/api/graphql answers the same code inside errors[].extensions. The status depends on the Accept header you send (status codes):

application/jsongraphql-response+jsonWhen
200400REST planner refusals, with path set to the root field. invalid_select also refuses one relation list read twice in an entry with different arguments (see Not built yet)

See also