BizKitHub
PUBLIC_CRON_RUN_EXPIRED

Cron run expired and was closed as timed out.

Z BizKitHub Docs, dokumentacja kodów błędów API

Nazwy i opisy kodów prowadzimy po angielsku.

HTTP 409Publiczne 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 rozwiązać

  1. 1

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

  2. 2

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

Przykładowa odpowiedź

API odpowiada statusem HTTP 409 i treścią w formacie JSON. Porównuj errorCode, nie message. Komunikaty mogą się zmieniać, kody pozostają stałe.

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"
}
Dokumentacja referencyjna:Kody błędów API|Publiczne API|HTTP 409