PUBLIC_CRON_RUN_LIMIT_EXCEEDEDToo many cron runs are open at the same time.
Z BizKitHub Docs, referencia chybových kódov API
Názvy a popisy kódov udržiavame v angličtine.
HTTP 429Verejné API
The organisation holds the maximum number of simultaneously running cron runs. Runs that are never finished stay open until their expiration.
Ako to vyriešiť
- 1
Call `/cron-run/{id}/finish` at the end of every run, also when it fails.
- 2
Use a shorter `expiration` so abandoned runs close sooner.
Ukážka odpovede
API odpovie statusom HTTP 429 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": 429,
"message": "Too many cron runs are open at the same time.",
"errorCode": "PUBLIC_CRON_RUN_LIMIT_EXCEEDED",
"hint": "The organisation holds the maximum number of simultaneously running cron runs. Runs that are never finished stay open until their expiration.",
"documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_CRON_RUN_LIMIT_EXCEEDED"
}