Kody błędów API

Z BizKitHub Docs, dokumentacja API

Nazwy i opisy kodów prowadzimy po angielsku.

Wszystkie błędy, które może zwrócić API BizKitHub. Każda odpowiedź zawiera obok statusu HTTP stały errorCode. Porównuj kod, nie komunikat, bo komunikaty mogą się zmieniać. Kody z logu platformy znajdziesz w sekcji systemowe kody logu.
/
Status
Kategorie
OgólneOgólny błąd aplikacji.7 błędów
AI_CONTEXT_NOTE_LIMIT_EXCEEDEDThe organisation has too many context notes.
AI_CONTEXT_NOTE_VERSION_CONFLICTThe organisation context note was changed by someone else.
ISSUE_EMAIL_HAS_NO_RECIPIENTSThe e-mail has no recipient.
ORGANISATION_IS_SUSPENDEDThe organisation is suspended.
REVIEW_DOES_NOT_EXISTReview does not exist.
REVIEW_INVALIDThe review could not be accepted.
REVIEW_NOT_ALLOWEDYou cannot write this review yet.
PlatformaZgłaszane przez samą platformę (logowanie, limity żądań, infrastruktura).18 błędów
INTERNAL_ACCOUNT_CAN_NOT_DETERMINATE_USER_IPCan not determinate user IP.
INTERNAL_ACCOUNT_HAS_BEEN_DELETEDAccount has been deleted and cannot be used or re-registered.
INTERNAL_AI_BUDGET_EXCEEDEDMonthly AI token budget of your tariff has been used up.
INTERNAL_AI_RATE_LIMITEDAI request rate limit exceeded.
INTERNAL_COMGATE_PRODUCTION_NOT_ENABLEDComgate merchant is configured for production but only test mode is enabled on the gateway side.
INTERNAL_EMAIL_NOT_VERIFIEDPlease verify your e-mail before signing in.
INTERNAL_FIO_API_UNAVAILABLEFio API is temporarily unavailable.
INTERNAL_FIO_RATE_LIMITEDFio API rate limit hit (one call per token every 30 s).
INTERNAL_FIO_STATEMENT_INVALIDFio bank statement is malformed.
INTERNAL_FIO_TOKEN_INACTIVEFio API token is inactive.
INTERNAL_LOGO_UNSUPPORTED_TYPEThe logo must be a PNG, JPG, WebP or SVG image.
INTERNAL_ORDER_INSERT_FAILEDInserting order failed
INTERNAL_ORGANISATION_IS_REQUIREDOrganisation context is required
INTERNAL_ORGANISATION_NOT_FOUND_OR_USER_NOT_MEMBEROrganisation not found or user is not a member.
INTERNAL_RESOURCE_NOT_FOUNDResource not found.
INTERNAL_TOO_MANY_REQUESTSRate limit exceeded
INTERNAL_USER_MUST_BE_AUTHORIZEDUser must be authorized
INTERNAL_VALIDATION_FAILEDRequest payload failed validation.
PłatnościZgłaszane przy tworzeniu lub przetwarzaniu płatności.1 błąd
PAYMENT_RETRY_LIMIT_EXCEEDEDVícenásobné pokusy o platbu se nezdařily, kontaktujte podporu.
Publiczne APIZwracane przez publiczne endpointy /api/v1 klientom z kluczem API.54 błędy
PUBLIC_API_KEY_DOES_NOT_EXISTOrganisation API key does not exist or is broken.
PUBLIC_API_KEY_HAS_BEEN_DELETEDOrganisation API key has been deleted.
PUBLIC_API_KEY_HAS_BEEN_EXPIREDOrganisation API key has been expired.
PUBLIC_API_KEY_IS_EMPTYOrganisation API key is empty. Please add your API key to request query.
PUBLIC_API_KEY_IS_NOT_ACTIVEOrganisation API key is not active now.
PUBLIC_API_KEY_IS_NOT_IN_VALID_FORMATOrganisation API key does not match expected format.
PUBLIC_API_KEY_SAMPLE_VALUESample API key cannot be used.
PUBLIC_API_KEY_SCOPE_NOT_ALLOWEDAPI key does not have the required scope for this endpoint.
PUBLIC_API_KEY_TOO_MANY_REQUESTToo many requests
PUBLIC_BACKUP_FILE_TOO_LARGEThe backup file is larger than the maximum allowed size (1 TiB).
PUBLIC_BACKUP_INSTALL_TOKEN_INVALIDThe install command is no longer valid.
PUBLIC_BACKUP_INVALID_INSTALL_PROFILEThe backup installer profile is not valid.
PUBLIC_BACKUP_INVALID_STATEThe backup is not in a state that allows this operation.
PUBLIC_BACKUP_NOT_FOUNDBackup not found.
PUBLIC_BACKUP_TARIFF_NOT_SUPPORTEDThe backup service is not available in the current tariff of the organisation.
PUBLIC_BACKUP_UPLOAD_INCOMPLETEThe uploaded parts do not form the declared file.
PUBLIC_CALENDAR_DOES_NOT_EXISTCalendar does not exist.
PUBLIC_CALENDAR_EVENT_DOES_NOT_EXISTCalendar event does not exist.
PUBLIC_CALENDAR_IS_ARCHIVEDCalendar is archived.
PUBLIC_CATEGORY_DOES_NOT_EXISTCategory does not exist.
PUBLIC_COUNTRY_CODE_UNKNOWNUnknown country code.
PUBLIC_CRON_JOB_CODE_INVALIDCron job code is empty or invalid.
PUBLIC_CRON_JOB_LIMIT_EXCEEDEDToo many distinct cron jobs in this organisation.
PUBLIC_CRON_PAYLOAD_TOO_LARGECron payload is too large.
PUBLIC_CRON_RUN_CLOSEDCron run is already finished.
PUBLIC_CRON_RUN_EXPIREDCron run expired and was closed as timed out.
PUBLIC_CRON_RUN_LIMIT_EXCEEDEDToo many cron runs are open at the same time.
PUBLIC_CRON_RUN_LOG_LIMITCron run reached the maximum number of log entries.
PUBLIC_CRON_RUN_NOT_FOUNDCron run does not exist.
PUBLIC_CRON_RUN_RATE_LIMITEDCron monitor request quota of the API key is exhausted.
PUBLIC_CRON_RUN_RECORD_INVALIDRecorded cron run has invalid timestamps.
PUBLIC_CRON_SCHEDULE_INVALIDCron schedule is not a valid cron expression or time zone.
PUBLIC_CUSTOMER_CAN_NOT_ASSIGNEE_ITSELFCustomer can not assignee itself.
PUBLIC_CUSTOMER_DETAIL_NOT_PERMITTEDYou have no permission to load this customer detail.
PUBLIC_EMAILER_BODY_REQUIREDSend either htmlBody (with subject) or templateCode.
PUBLIC_EMAILER_ORDER_NOT_FOUNDOrder does not exist.
PUBLIC_EMAILER_TEMPLATE_NOT_FOUNDE-mail template does not exist or is inactive.
PUBLIC_EMAILER_TEMPLATE_VARIABLES_MISSINGTemplate uses variables that were not sent.
PUBLIC_EMAILER_VARIABLE_INVALIDVariable name is not valid.
PUBLIC_FORM_DOES_NOT_EXISTForm does not exist or is not active.
PUBLIC_IDENTITY_IS_EMPTYContact identity is missing. Pass the `identityId` returned by `/customer/login`.
PUBLIC_IDENTITY_IS_INVALIDContact identity is not valid (unknown, deleted, unauthorized or expired). Log the customer in again.
PUBLIC_LOCK_DOES_NOT_EXISTLock does not exist.
PUBLIC_LOCK_IS_NOT_ACTIVELock is not active.
PUBLIC_ORDER_DOES_NOT_EXISTOrder does not exist.
PUBLIC_PAYMENT_DOES_NOT_EXISTPayment does not exist.
PUBLIC_PAYMENT_TRANSACTION_CONFLICTStore transaction is already recorded on another order.
PUBLIC_POST_COMMENT_PARENT_NOT_FOUNDParent comment does not exist.
PUBLIC_PRODUCT_DOES_NOT_EXISTProduct does not exist.
PUBLIC_PRODUCT_OUT_OF_STOCKProduct is out of stock.
PUBLIC_REQUEST_BODY_PARSE_FAILEDRequest body could not be parsed.
PUBLIC_REQUEST_VALIDATION_FAILEDRequest does not match the endpoint schema.
PUBLIC_STORAGE_LIMIT_REACHEDThe organisation Disk is full. New files are not accepted until data is removed or a higher Disk plan is active.
PUBLIC_TAG_USE_INVALID_FORMATTag use invalid format.
UprawnieniaWywołujący jest zalogowany, ale nie ma wymaganego uprawnienia.2 błędy
PERMISSION_MEMBER_HAS_NO_PERMISSIONMember has no permission.
PERMISSION_MEMBER_IS_BLOCKED_IN_ORGANISATIONOrganisation member has been blocked.
Wyświetlono 82 z 82 błędów

Format odpowiedzi z błędem

Każdy błąd ma tę samą strukturę JSON. hint pojawia się, gdy kod ma opis, a documentationUrl prowadzi prosto do strony kodu w tej dokumentacji.

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

Klasy statusów HTTP

4xx · Błąd klienta

HTTP 4xx. Przed ponowieniem popraw żądanie.

400
Bad request: nieprawidłowe lub brakujące dane
401
Unauthorized: brak lub nieprawidłowy klucz API albo sesja
403
Forbidden: zalogowany, ale bez uprawnień
404
Not found: zasób nie istnieje
429
Too many requests: zwolnij i spróbuj później

5xx · Błąd serwera

HTTP 5xx. Awaria platformy. Ponów po chwili.

500
Internal server error: wewnętrzny błąd serwera
502
Bad gateway: zawiódł dostawca zewnętrzny
503
Service unavailable: chwilowa awaria lub prace serwisowe
504
Gateway timeout: dostawca zewnętrzny nie odpowiedział na czas