BizKitHub
PUBLIC_CRON_RUN_EXPIRED

Cron run expired and was closed as timed out.

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

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

HTTP 409Veřejné API
No call arrived within the run expiration, so the run was closed as `timeout` and a critical log entry was written. Every log or heartbeat call extends the expiration.

Jak to vyřešit

  1. 1

    Send `/cron-run/{id}/heartbeat` during long silent steps.

  2. 2

    Start the run with a longer `expiration` (seconds).

Ukázka odpovědi

API odpoví statusem HTTP 409 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": 409,
  "message": "Cron run expired and was closed as timed out.",
  "errorCode": "PUBLIC_CRON_RUN_EXPIRED",
  "hint": "No call arrived within the run expiration, so the run was closed as `timeout` and a critical log entry was written. Every log or heartbeat call extends the expiration.",
  "documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_CRON_RUN_EXPIRED"
}