BizKitHub
PUBLIC_CRON_RUN_RATE_LIMITED

Cron monitor request quota of the API key is exhausted.

Aus BizKitHub Docs, der Referenz der API-Fehlercodes

Titel und Beschreibungen der Codes pflegen wir auf Englisch.

HTTP 429Öffentliche API
Requests to `/api/v1/cron-run/*` have their own fixed hourly quota per API key (separate from the quota of other endpoints). Every response carries `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset` headers.

So beheben Sie es

  1. 1

    Send logs in batches (`entries`, up to 100) instead of one request per entry.

  2. 2

    Report short runs with a single `POST /cron-run/record` instead of start + finish.

  3. 3

    Wait until the time in `X-RateLimit-Reset` (Unix seconds) or the `Retry-After` header.

Beispielantwort

Die API antwortet mit HTTP 429 und einem JSON-Body. Vergleichen Sie errorCode, nicht message. Meldungen können umformuliert werden, Codes bleiben stabil.

application/json
{
  "state": "error",
  "code": 429,
  "message": "Cron monitor request quota of the API key is exhausted.",
  "errorCode": "PUBLIC_CRON_RUN_RATE_LIMITED",
  "hint": "Requests to `/api/v1/cron-run/*` have their own fixed hourly quota per API key (separate from the quota of other endpoints). Every response carries `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset` headers.",
  "documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_CRON_RUN_RATE_LIMITED"
}