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
68 von 74 Fehlern
Allgemein
Allgemeiner Anwendungsfehler.7 Fehler- AI_CONTEXT_NOTE_LIMIT_EXCEEDEDThe organisation has too many context notes.The shared organisation context is loaded into every AI agent session, so the number of notes is capped. The organisation reached the cap.HTTP 429
- AI_CONTEXT_NOTE_VERSION_CONFLICTThe organisation context note was changed by someone else.The update sent `expectedVersion`, but the note has a newer version: another member or AI agent edited it in the meantime. Nothing was written.HTTP 409
- ISSUE_EMAIL_HAS_NO_RECIPIENTSThe e-mail has no recipient.Nobody would receive this issue e-mail (BIZKIT-75): the author is never e-mailed their own reply, and the remaining participants have no e-mail address, muted the issue, or the organisation turned issue e-mails off. Nothing was changed. Add the customer as reporter / watcher, or save the text as an internal comment.HTTP 422
- ORGANISATION_IS_SUSPENDEDThe organisation is suspended.The organisation has been suspended (frozen) by the platform operator, typically because its tariff expired or its owner requested account closure. Its data is kept intact, but API access, background processing and new file uploads are stopped until the organisation is resumed.HTTP 423
- REVIEW_DOES_NOT_EXISTReview does not exist.No review with this id exists in the organisation.HTTP 404
- REVIEW_INVALIDThe review could not be accepted.The rating must be 1 to 5, the author name is required and the text must be at most 1000 characters without spam (links, repeated characters).HTTP 400
- REVIEW_NOT_ALLOWEDYou cannot write this review yet.Reviews can only be written by customers with a delivered order (for a product review, an order containing that product), at least a few days after delivery, and only once per order. Call GET /shop/review/allowance first.HTTP 403
Berechtigung
Der Aufrufer ist angemeldet, hat aber nicht die nötige Berechtigung.2 Fehler- PERMISSION_MEMBER_HAS_NO_PERMISSIONMember has no permission.The authenticated member is part of the organisation but their role does not grant access to the requested module or action. Attach the module/action as parametric context when throwing — e.g. `throw ApiError("PERMISSION_MEMBER_HAS_NO_PERMISSION", "calendar:update")`.HTTP 403
- PERMISSION_MEMBER_IS_BLOCKED_IN_ORGANISATIONOrganisation member has been blocked.Your user account within the organisation has been blocked. For further information, please contact your organisation administrator.HTTP 401
Ö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
Plattform
Von der Plattform selbst ausgelöst (Anmeldung, Ratenlimits, Infrastruktur).12 Fehler- INTERNAL_ACCOUNT_HAS_BEEN_DELETEDAccount has been deleted and cannot be used or re-registered.The contact behind this account is soft-deleted (shop__contact.deleted_date IS NOT NULL). Soft-deleted contacts hold the email slot until the record is anonymised, so re-registration under the same email is blocked and any lingering session is invalidated. This is intentional so the address history stays auditable.HTTP 410
- INTERNAL_AI_BUDGET_EXCEEDEDMonthly AI token budget of your tariff has been used up.The organisation has consumed all AI tokens included in its tariff for the current calendar month (`limit_ai_tokens_monthly`). AI features using the shared BizKitHub key are paused until the next month.HTTP 429
- INTERNAL_AI_RATE_LIMITEDAI request rate limit exceeded.Each organisation member may start a limited number of AI requests (Assistant, chat, translation, content generation, newsroom) per 10 minutes and per day. The limit protects the organisation from runaway scripts and unexpected AI spend.HTTP 429
- INTERNAL_EMAIL_NOT_VERIFIEDPlease verify your e-mail before signing in.The account exists as a pending shop__contact_register_request row that has not yet been confirmed. The caller must either enter the 6-digit code from the confirmation e-mail or click the link in it. The register row survives for 24 hours after signup; expired rows are treated as if the account never existed.HTTP 403
- INTERNAL_FIO_RATE_LIMITEDFio API rate limit hit (one call per token every 30 s).Fio answered HTTP 409 because the same API token was already used within the last 30 seconds. Fio enforces this per token, across every client, so an earlier call from another system (or an aborted call of ours) also counts.HTTP 429
- INTERNAL_LOGO_UNSUPPORTED_TYPEThe logo must be a PNG, JPG, WebP or SVG image.The uploaded file is not an image, or it is an SVG that could not be rendered. SVG logos are converted to PNG because most e-mail clients do not display SVG.HTTP 415
- INTERNAL_ORGANISATION_IS_REQUIREDOrganisation context is requiredProvide a valid organization ID or slug.HTTP 401
- INTERNAL_ORGANISATION_NOT_FOUND_OR_USER_NOT_MEMBEROrganisation not found or user is not a member.The specified organisation does not exist, or the user is not a member of the organisation.HTTP 404
- INTERNAL_RESOURCE_NOT_FOUNDResource not found.A specific resource referenced by the request (a record id, slug, hash or token) does not exist in the organisation scope, has been deleted, or the caller has no permission to see it. Attach the missing identifier as parametric context — e.g. `throw ApiError("INTERNAL_RESOURCE_NOT_FOUND", "Calendar 42")`.HTTP 404
- INTERNAL_TOO_MANY_REQUESTSRate limit exceededYou have exceeded the rate limit for requests. Please try again later.HTTP 429
- INTERNAL_USER_MUST_BE_AUTHORIZEDUser must be authorizedUser is not logged in.HTTP 401
- INTERNAL_VALIDATION_FAILEDRequest payload failed validation.The server-side validator rejected a field value that the typed body schema could not catch (format, length, cross-field consistency, multi-tenant ownership, etc.). The offending field and constraint should be passed as parametric context — e.g. `throw ApiError("INTERNAL_VALIDATION_FAILED", 'reserveFrom must be a relative-time string')`.HTTP 400
Zahlung
Beim Anlegen oder Verarbeiten einer Zahlung ausgelöst.1 FehlerFormat 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