Error reference
date_in_past
A supplied date (checkIn / startDate) is in the past (evaluated in UTC).
HTTP 400invalid_requestNot retryable0 credits
HTTP 400
error.type = invalid_requestHow to fix it
Use a date of today or later.
Example response
400 invalid_request
// HTTP 400
{
"error": {
"type": "invalid_request",
"code": "date_in_past",
"message": "A supplied date (checkIn / startDate) is in the past (evaluated in UTC).",
"param": null,
"requestId": "req_…",
"creditsCharged": 0,
"retryable": false,
"docUrl": "https://scoutingapi.com/docs/errors/date_in_past"
}
}This error is free
Like every ScoutingAPI error,
date_in_past returns creditsCharged: 0. You are never billed for a failed, empty, blocked or not-found call.See the full error catalog or the response envelope. The canonical URL for this page is https://scoutingapi.com/docs/errors/date_in_past.