PUBLIC_CRON_RUN_EXPIREDCron run expired and was closed as timed out.
Z BizKitHub Docs, referencia chybových kódov API
Názvy a popisy kódov udržiavame v angličtine.
HTTP 409Verejné 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.
Ako to vyriešiť
- 1
Send `/cron-run/{id}/heartbeat` during long silent steps.
- 2
Start the run with a longer `expiration` (seconds).
Ukážka odpovede
API odpovie statusom HTTP 409 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": 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"
}