BizKitHub
PUBLIC_CRON_RUN_RECORD_INVALID

Recorded cron run has invalid timestamps.

Z BizKitHub Docs, reference chybových kódů API

Názvy a popisy kódů udržujeme v angličtině.

HTTP 400Veřejné 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 vyřešit

  1. 1

    Send times in UTC with a `Z` suffix, e.g. `2026-11-05T12:00:00.000Z`.

Ukázka odpovědi

API odpoví statusem HTTP 400 a tělem ve formátu JSON. Porovnávejte errorCode, ne message. Zprávy se mohou přeformulovat, kódy zůstávají stejné.

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"
}