BizKitHub
PUBLIC_CRON_JOB_CODE_INVALID

Cron job code is empty or invalid.

Aus BizKitHub Docs, der Referenz der API-Fehlercodes

Titel und Beschreibungen der Codes pflegen wir auf Englisch.

HTTP 400Öffentliche API
The `code` sent to `/cron-run/start` contains no usable characters after normalization. Codes keep letters, digits and `. _ : -`, up to 64 characters.

So beheben Sie es

  1. 1

    Send a stable identifier such as `my-app:sync-orders`.

  2. 2

    Use the `<application>:<job>` form so jobs of different applications do not collide.

Beispielantwort

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

application/json
{
  "state": "error",
  "code": 400,
  "message": "Cron job code is empty or invalid.",
  "errorCode": "PUBLIC_CRON_JOB_CODE_INVALID",
  "hint": "The `code` sent to `/cron-run/start` contains no usable characters after normalization. Codes keep letters, digits and `. _ : -`, up to 64 characters.",
  "documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_CRON_JOB_CODE_INVALID"
}