PUBLIC_CRON_JOB_LIMIT_EXCEEDEDToo many distinct cron jobs in this organisation.
Z BizKitHub Docs, dokumentacja kodów błędów API
Nazwy i opisy kodów prowadzimy po angielsku.
HTTP 429Publiczne API
Every new `code` creates a cron job. The organisation reached the maximum number of distinct jobs, usually because a variable part (an id, a date) was put into the job code.
Jak to rozwiązać
- 1
Keep the job code constant per job type and move variable values into `meta`.
- 2
Delete unused jobs in the admin under System → Cron.
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 distinct cron jobs in this organisation.",
"errorCode": "PUBLIC_CRON_JOB_LIMIT_EXCEEDED",
"hint": "Every new `code` creates a cron job. The organisation reached the maximum number of distinct jobs, usually because a variable part (an id, a date) was put into the job code.",
"documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_CRON_JOB_LIMIT_EXCEEDED"
}