BizKitHub
PUBLIC_CRON_JOB_CODE_INVALID

Cron job code is empty or invalid.

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

How to resolve

  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.

Example response

The API answers with HTTP 400 and a JSON body. Match on errorCode, not on message: messages may be reworded, codes are stable.

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