Chybové kódy API
Z BizKitHub Docs, reference API
Názvy a popisy kódů udržujeme v angličtině.
Všechny chyby, které může API BizKitHub vrátit. Každá odpověď nese vedle HTTP statusu stabilní
errorCode. Porovnávejte kód, ne zprávu, protože zprávy se mohou přeformulovat. Kódy z logu platformy najdete v části systémové kódy logu./
Status
Kategorie
Zobrazeno 7 z 74 chyb
Obecné
Obecná chyba aplikace.7 chyb- 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
Formát chybové odpovědi
Všechny chyby mají stejnou strukturu JSON. hint je přítomen, pokud má kód popis, a documentationUrl vede přímo na stránku kódu v této dokumentaci.
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"
}Třídy HTTP statusů
4xx · Chyba klienta
HTTP 4xx. Požadavek je potřeba před opakováním opravit.
- 400
- Bad request: neplatný nebo chybějící vstup
- 401
- Unauthorized: chybějící nebo neplatný API klíč či relace
- 403
- Forbidden: přihlášený, ale bez oprávnění
- 404
- Not found: záznam neexistuje
- 429
- Too many requests: zpomalte a zkuste to později
5xx · Chyba serveru
HTTP 5xx. Selhala platforma. Zopakujte požadavek s odstupem.
- 500
- Internal server error: vnitřní chyba serveru
- 502
- Bad gateway: selhal navazující poskytovatel
- 503
- Service unavailable: dočasný výpadek nebo údržba
- 504
- Gateway timeout: navazující poskytovatel neodpověděl včas