PUBLIC_CRON_JOB_LIMIT_EXCEEDEDToo many distinct cron jobs in this organisation.
Z BizKitHub Docs, reference chybových kódů API
Názvy a popisy kódů udržujeme v angličtině.
HTTP 429Veřejné 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 vyřešit
- 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.
Ukázka odpovědi
API odpoví statusem HTTP 429 a tělem ve formátu JSON. Porovnávejte errorCode, ne message. Zprávy se mohou přeformulovat, kódy zůstávají stejné.
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"
}