BizKitHub
PUBLIC_CRON_JOB_LIMIT_EXCEEDED

Too many distinct cron jobs in this organisation.

Z BizKitHub Docs, referencia chybových kódov API

Názvy a popisy kódov udržiavame v angličtine.

HTTP 429Verejné 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.

Ako to vyriešiť

  1. 1

    Keep the job code constant per job type and move variable values into `meta`.

  2. 2

    Delete unused jobs in the admin under System → Cron.

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 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"
}