Skip to content
ScoutingAPI
Docs

window_too_long

The query date window exceeds the per-endpoint cap (availability > 365 days).

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

How to fix it

Request a window of 365 days or fewer.

Example response

400 invalid_request
// HTTP 400
{
  "error": {
    "type": "invalid_request",
    "code": "window_too_long",
    "message": "The query date window exceeds the per-endpoint cap (availability > 365 days).",
    "param": null,
    "requestId": "req_…",
    "creditsCharged": 0,
    "retryable": false,
    "docUrl": "https://scoutingapi.com/docs/errors/window_too_long"
  }
}

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/window_too_long.