Skip to content
400 Bad Request Request error

Invalid sort

errorCode: INVALID_SORT

What it means

The requested sort field or direction is not supported.

What you can do

Sort by a supported field, in ascending or descending order.

Example response

application/problem+json
{
  "type": "https://docs.atlas.ilionx.dev/errors/INVALID_SORT",  "title": "Bad Request",  "status": 400,  "detail": "The requested sort field or direction is not supported.",  "instance": "/v1/…",  "errorCode": "INVALID_SORT"}

Branch on errorCode, not on detail: the code is stable, the wording may change.