PUBLIC_CRON_RUN_RECORD_INVALIDRecorded cron run has invalid timestamps.
Z BizKitHub Docs, referencia chybových kódov API
Názvy a popisy kódov udržiavame v angličtine.
HTTP 400Verejné 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.
Ako to vyriešiť
- 1
Send times in UTC with a `Z` suffix, e.g. `2026-11-05T12:00:00.000Z`.
Ukážka odpovede
API odpovie statusom HTTP 400 a telom vo formáte JSON. Porovnávajte errorCode, nie message. Správy sa môžu preformulovať, kódy zostávajú rovnaké.
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"
}