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
Wyświetlono 7 z 74 błędów
Ogólne
Ogólny błąd aplikacji.7 błędów- 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
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