PUBLIC_CRON_RUN_LIMIT_EXCEEDEDToo many cron runs are open at the same time.
Z BizKitHub Docs, dokumentacja kodów błędów API
Nazwy i opisy kodów prowadzimy po angielsku.
HTTP 429Publiczne API
The organisation holds the maximum number of simultaneously running cron runs. Runs that are never finished stay open until their expiration.
Jak to rozwiązać
- 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.
Przykładowa odpowiedź
API odpowiada statusem HTTP 429 i treścią w formacie JSON. Porównuj errorCode, nie message. Komunikaty mogą się zmieniać, kody pozostają stałe.
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"
}