Skip to content
ScoutingAPI
Docs

invalid_sort

A sort value is not in the endpoint's allowed enum.

HTTP 400invalid_requestNot retryable0 credits
HTTP 400error.type = invalid_request

How to fix it

Use a sort value listed for the endpoint.

Example response

400 invalid_request
// HTTP 400
{
  "error": {
    "type": "invalid_request",
    "code": "invalid_sort",
    "message": "A sort value is not in the endpoint's allowed enum.",
    "param": null,
    "requestId": "req_…",
    "creditsCharged": 0,
    "retryable": false,
    "docUrl": "https://scoutingapi.com/docs/errors/invalid_sort"
  }
}

This error is free

See the full error catalog or the response envelope. The canonical URL for this page is https://scoutingapi.com/docs/errors/invalid_sort.