API-Fehlercodes
Aus BizKitHub Docs, der API-Referenz
Titel und Beschreibungen der Codes pflegen wir auf Englisch.
Alle Fehler, die die BizKitHub-API zurückgeben kann. Jede Antwort enthält neben dem HTTP-Status einen stabilen
errorCode. Vergleichen Sie den Code, nicht die Meldung, denn Meldungen können umformuliert werden. Codes aus dem Plattform-Log finden Sie unter System-Log-Codes./
Status
Kategorien
46 von 74 Fehlern
Öffentliche API
Von öffentlichen /api/v1-Endpunkten an Clients mit API-Schlüssel zurückgegeben.46 Fehler- PUBLIC_API_KEY_DOES_NOT_EXISTOrganisation API key does not exist or is broken.Parameter "apiKey" is always required.HTTP 404
- PUBLIC_API_KEY_HAS_BEEN_DELETEDOrganisation API key has been deleted.HTTP 404
- PUBLIC_API_KEY_HAS_BEEN_EXPIREDOrganisation API key has been expired.HTTP 403
- PUBLIC_API_KEY_IS_EMPTYOrganisation API key is empty. Please add your API key to request query.HTTP 401
- PUBLIC_API_KEY_IS_NOT_ACTIVEOrganisation API key is not active now.HTTP 403
- PUBLIC_API_KEY_IS_NOT_IN_VALID_FORMATOrganisation API key does not match expected format.Please use 32 char length key generated from system.HTTP 400
- PUBLIC_API_KEY_SAMPLE_VALUESample API key cannot be used.You are using a sample API key intended only for documentation and testing examples. Please replace it with a real API key generated in your organisation settings.HTTP 404
- PUBLIC_API_KEY_SCOPE_NOT_ALLOWEDAPI key does not have the required scope for this endpoint.The API key is valid but has scope restrictions that do not include access to this endpoint. Each API key can be limited to specific scopes (e.g. "carddav", "feed.product"). If the key has any scopes assigned, only those endpoints are accessible.HTTP 403
- PUBLIC_API_KEY_TOO_MANY_REQUESTToo many requestsThe API request limit for this API key (or organisation) has been exceeded. Requests are counted in fixed 10-minute time blocks. Each block has a maximum number of allowed requests. Once the limit is reached, the API will temporarily reject further requests until the next 10-minute block begins. This mechanism is enforced to protect platform stability and to guarantee overall service reliability and SLA for all customers in a multi-tenant environment.HTTP 429
- PUBLIC_CALENDAR_DOES_NOT_EXISTCalendar does not exist.Calendar does not exist, please check your calendar code and your permission.HTTP 404
- PUBLIC_CALENDAR_EVENT_DOES_NOT_EXISTCalendar event does not exist.The event code does not exist in this organisation, or the customer behind `identityId` has no paid reservation of it and is not its attendee. Both cases answer 404 so foreign events are not disclosed.HTTP 404
- PUBLIC_CALENDAR_IS_ARCHIVEDCalendar is archived.The calendar has been archived (BIZKIT-109): it keeps its history but accepts no new events or reservations. Restore it in the admin (Calendars → show archived → Restore) to use it again.HTTP 409
- PUBLIC_CATEGORY_DOES_NOT_EXISTCategory does not exist.Category does not exist, please check your slug.HTTP 404
- PUBLIC_COUNTRY_CODE_UNKNOWNUnknown country code.The `country` query parameter must be a valid ISO 3166-1 alpha-2 code (e.g. "CZ", "SK", "DE"). The endpoint uses it to filter posts by geo-availability rules (per-country + per-continent). When omitted, no geo filter is applied — callers that do not need the filter can drop the parameter entirely to preserve the legacy behaviour.HTTP 400
- PUBLIC_CRON_JOB_CODE_INVALIDCron job code is empty or invalid.The `code` sent to `/cron-run/start` contains no usable characters after normalization. Codes keep letters, digits and `. _ : -`, up to 64 characters.HTTP 400
- PUBLIC_CRON_JOB_LIMIT_EXCEEDEDToo many distinct cron jobs in this organisation.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.HTTP 429
- PUBLIC_CRON_PAYLOAD_TOO_LARGECron payload is too large.A log batch exceeds 100 entries. Oversized `meta`, `report` and log `context` (over 16 KB of JSON) are not rejected but stored as a truncation marker.HTTP 422
- PUBLIC_CRON_RUN_CLOSEDCron run is already finished.The run was already finished, so it accepts no more log entries, heartbeats or finish calls.HTTP 409
- PUBLIC_CRON_RUN_EXPIREDCron run expired and was closed as timed out.No call arrived within the run expiration, so the run was closed as `timeout` and a critical log entry was written. Every log or heartbeat call extends the expiration.HTTP 409
- PUBLIC_CRON_RUN_LIMIT_EXCEEDEDToo many cron runs are open at the same time.The organisation holds the maximum number of simultaneously running cron runs. Runs that are never finished stay open until their expiration.HTTP 429
- PUBLIC_CRON_RUN_LOG_LIMITCron run reached the maximum number of log entries.A single run can hold at most 10 000 log entries. Further entries are rejected.HTTP 422
- PUBLIC_CRON_RUN_NOT_FOUNDCron run does not exist.No cron run with this id exists in the organisation behind the API key.HTTP 404
- PUBLIC_CRON_RUN_RATE_LIMITEDCron monitor request quota of the API key is exhausted.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.HTTP 429
- PUBLIC_CRON_RUN_RECORD_INVALIDRecorded cron run has invalid timestamps.`startedAt` and `finishedAt` must be ISO-8601 times, `startedAt` must not be after `finishedAt`, neither may lie more than 5 minutes in the future and `startedAt` may be at most 7 days old.HTTP 400
- PUBLIC_CRON_SCHEDULE_INVALIDCron schedule is not a valid cron expression or time zone.`schedule` must be a standard 5-field cron expression (or 6 fields with seconds), e.g. `*/5 * * * *`, and `scheduleTimezone` an IANA time zone, e.g. `Europe/Prague`. In `/cron-run/start` and `/cron-run/record` an invalid schedule does not reject the run: it is ignored and reported in `warnings`.HTTP 400
- PUBLIC_CUSTOMER_CAN_NOT_ASSIGNEE_ITSELFCustomer can not assignee itself.HTTP 400
- PUBLIC_CUSTOMER_DETAIL_NOT_PERMITTEDYou have no permission to load this customer detail.Wrong cuRefNo or your profile is not manager of this customer.HTTP 404
- PUBLIC_EMAILER_BODY_REQUIREDSend either htmlBody (with subject) or templateCode.`POST /emailer/send` needs exactly one source of content: a ready `htmlBody` with `subject`, or `templateCode` of the organisation's own template written in admin.HTTP 400
- PUBLIC_EMAILER_ORDER_NOT_FOUNDOrder does not exist.No order with this `orderHash` exists in the organisation behind the API key.HTTP 404
- PUBLIC_EMAILER_TEMPLATE_NOT_FOUNDE-mail template does not exist or is inactive.No active template of type "Custom e-mail (sent via API)" with this code (template variant) exists in the organisation behind the API key.HTTP 404
- PUBLIC_EMAILER_TEMPLATE_VARIABLES_MISSINGTemplate uses variables that were not sent.The subject or body of the template contains `{{ variable }}` placeholders with no value. Nothing was sent, so the recipient never gets a half-filled e-mail. The error context lists the missing names.HTTP 422
- PUBLIC_EMAILER_VARIABLE_INVALIDVariable name is not valid.Variable names must start with a letter and contain only letters and digits (max 64 characters).HTTP 400
- PUBLIC_FORM_DOES_NOT_EXISTForm does not exist or is not active.The form referenced by code or slug does not exist in this organisation, or its `active` flag is false and it has been hidden from the public API. Inactive forms intentionally return 404 (not 403) so the existence of internal-only forms is not disclosed.HTTP 404
- PUBLIC_IDENTITY_IS_EMPTYContact identity is missing. Pass the `identityId` returned by `/customer/login`.HTTP 401
- PUBLIC_IDENTITY_IS_INVALIDContact identity is not valid (unknown, deleted, unauthorized or expired). Log the customer in again.The `identityId` does not resolve to an active login session of a contact in the organisation behind the API key. The same answer is returned for every failure reason so identities cannot be probed.HTTP 401
- PUBLIC_LOCK_DOES_NOT_EXISTLock does not exist.The TTLock referenced by id/code is not registered for this organisation, has been deleted, or your API key has no permission to control it.HTTP 404
- PUBLIC_LOCK_IS_NOT_ACTIVELock is not active.The lock exists and belongs to this organisation but is currently marked inactive (e.g. offline, deactivated by an admin, or its TTLock pairing was revoked). Inactive locks reject all passcode and unlock operations until reactivated.HTTP 409
- PUBLIC_ORDER_DOES_NOT_EXISTOrder does not exist.The order hash does not match any order of the organisation behind the API key.HTTP 404
- PUBLIC_PAYMENT_DOES_NOT_EXISTPayment does not exist.The payment id, gateway id or hash referenced by the request does not match any payment record in the current organisation. Payments are not soft-deleted, so this almost always means the identifier is wrong or refers to a payment in a different organisation.HTTP 404
- PUBLIC_PAYMENT_TRANSACTION_CONFLICTStore transaction is already recorded on another order.An in-app purchase transaction id can pay exactly one order. The same id was already recorded on a different order.HTTP 409
- PUBLIC_POST_COMMENT_PARENT_NOT_FOUNDParent comment does not exist.A new post comment was submitted with a `parentExternalId` that does not match any existing comment on the same post. The most common cause is that the parent comment was deleted between the time the reply UI was rendered and the time the user pressed submit.HTTP 404
- PUBLIC_PRODUCT_DOES_NOT_EXISTProduct does not exist.Product does not exist, please check your slug.HTTP 404
- PUBLIC_PRODUCT_OUT_OF_STOCKProduct is out of stock.The order asks for more pieces than the warehouse has available (stock minus active reservations). Only warehouses that do not allow negative stock are checked. The order was not created.HTTP 409
- PUBLIC_REQUEST_BODY_PARSE_FAILEDRequest body could not be parsed.The body is not valid JSON (or does not match its `Content-Type`).HTTP 400
- PUBLIC_REQUEST_VALIDATION_FAILEDRequest does not match the endpoint schema.The body, query or path parameters failed schema validation. The response lists the offending fields in `errors` (`path` + `message`) and the request part in `on` (`body`, `query`, `params`). The schema of every endpoint is in the Swagger documentation.HTTP 422
- PUBLIC_TAG_USE_INVALID_FORMATTag use invalid format.Tag key and value must be non-empty strings with a maximum length of 200 characters each.HTTP 400
Format der Fehlerantwort
Jeder Fehler hat dieselbe JSON-Struktur. hint ist vorhanden, wenn der Code eine Beschreibung hat, und documentationUrl verweist direkt auf die Seite des Codes in dieser Dokumentation.
application/json · AI_CONTEXT_NOTE_LIMIT_EXCEEDED
{
"state": "error",
"code": 429,
"message": "The organisation has too many context notes.",
"errorCode": "AI_CONTEXT_NOTE_LIMIT_EXCEEDED",
"hint": "The shared organisation context is loaded into every AI agent session, so the number of notes is capped. The organisation reached the cap.",
"documentationUrl": "https://docs.bizkithub.com/errors/AI_CONTEXT_NOTE_LIMIT_EXCEEDED"
}HTTP-Statusklassen
4xx · Client-Fehler
HTTP 4xx. Die Anfrage muss vor einer Wiederholung korrigiert werden.
- 400
- Bad request: ungültige oder fehlende Eingabe
- 401
- Unauthorized: fehlender oder ungültiger API-Schlüssel bzw. Sitzung
- 403
- Forbidden: angemeldet, aber nicht berechtigt
- 404
- Not found: die Ressource existiert nicht
- 429
- Too many requests: drosseln und später erneut versuchen
5xx · Server-Fehler
HTTP 5xx. Die Plattform ist ausgefallen. Später erneut versuchen.
- 500
- Internal server error: interner Serverfehler
- 502
- Bad gateway: ein vorgelagerter Anbieter ist ausgefallen
- 503
- Service unavailable: vorübergehender Ausfall oder Wartung
- 504
- Gateway timeout: ein vorgelagerter Anbieter hat nicht rechtzeitig geantwortet