PUBLIC_CRON_RUN_RECORD_INVALIDRecorded cron run has invalid timestamps.
Z BizKitHub Docs, dokumentacja kodów błędów API
Nazwy i opisy kodów prowadzimy po angielsku.
HTTP 400Publiczne API
`startedAt` and `finishedAt` must be ISO-8601 times, `startedAt` must not be after `finishedAt`, neither may lie more than 5 minutes in the future and `startedAt` may be at most 7 days old.
Jak to rozwiązać
- 1
Send times in UTC with a `Z` suffix, e.g. `2026-11-05T12:00:00.000Z`.
Przykładowa odpowiedź
API odpowiada statusem HTTP 400 i treścią w formacie JSON. Porównuj errorCode, nie message. Komunikaty mogą się zmieniać, kody pozostają stałe.
application/json
{
"state": "error",
"code": 400,
"message": "Recorded cron run has invalid timestamps.",
"errorCode": "PUBLIC_CRON_RUN_RECORD_INVALID",
"hint": "`startedAt` and `finishedAt` must be ISO-8601 times, `startedAt` must not be after `finishedAt`, neither may lie more than 5 minutes in the future and `startedAt` may be at most 7 days old.",
"documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_CRON_RUN_RECORD_INVALID"
}