Chybové kódy API
Z BizKitHub Docs, referencia API
Názvy a popisy kódov udržiavame v angličtine.
Všetky chyby, ktoré môže API BizKitHub vrátiť. Každá odpoveď nesie vedľa HTTP statusu stabilný
errorCode. Porovnávajte kód, nie správu, pretože správy sa môžu preformulovať. Kódy z logu platformy nájdete v časti systémové kódy logu./
Status
Kategórie
Zobrazené 6 z 74 chýb
Platforma
Vyvoláva ich samotná platforma (prihlásenie, limity požiadaviek, infraštruktúra).6 chýb- INTERNAL_ACCOUNT_CAN_NOT_DETERMINATE_USER_IPCan not determinate user IP.Failed to detect user IP address from HTTP request.HTTP 500
- INTERNAL_COMGATE_PRODUCTION_NOT_ENABLEDComgate merchant is configured for production but only test mode is enabled on the gateway side.BizKitHub holds the Comgate gateway instance with environment="p" (production), but a pre-flight probe against the Comgate API returned error code 1308 ("Production environment is not enabled for you, it is enabled testing environment only"). Forwarding a customer to the gateway in this state would produce a broken payment page for every order. The platform refuses to create the payment until the misconfiguration is fixed.HTTP 503
- INTERNAL_FIO_API_UNAVAILABLEFio API is temporarily unavailable.The upstream Fio bank API did not return a parseable response within the timeout window. The most common causes are scheduled Fio maintenance, a token that was just rotated, or a brief network glitch between Vercel and Fio. The raw response body is appended to the error message for debugging.HTTP 502
- INTERNAL_FIO_STATEMENT_INVALIDFio bank statement is malformed.A statement file received from Fio (GPC or transaction JSON) is missing required fields or breaks the expected structure (no 074 header, empty payload, unparseable transaction line). The offending row or snippet is appended to the error message.HTTP 502
- INTERNAL_FIO_TOKEN_INACTIVEFio API token is inactive.Fio refused the request with `<status>error</status>`. This almost always means the API token stored in `shop__bank` for this account has been revoked, expired, or never activated. Fio tokens must be activated manually in Fio internet banking and have a fixed validity window.HTTP 502
- INTERNAL_ORDER_INSERT_FAILEDInserting order failedAn error occurred while inserting the order into the database. Failed to create order after multiple attemptsHTTP 500
Formát chybovej odpovede
Všetky chyby majú rovnakú štruktúru JSON. hint je prítomný, ak má kód popis, a documentationUrl vedie priamo na stránku kódu v tejto dokumentácii.
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"
}Triedy HTTP statusov
4xx · Chyba klienta
HTTP 4xx. Požiadavku treba pred opakovaním opraviť.
- 400
- Bad request: neplatný alebo chýbajúci vstup
- 401
- Unauthorized: chýbajúci alebo neplatný API kľúč či relácia
- 403
- Forbidden: prihlásený, ale bez oprávnenia
- 404
- Not found: záznam neexistuje
- 429
- Too many requests: spomaľte a skúste to neskôr
5xx · Chyba servera
HTTP 5xx. Zlyhala platforma. Zopakujte požiadavku s odstupom.
- 500
- Internal server error: vnútorná chyba servera
- 502
- Bad gateway: zlyhal nadväzujúci poskytovateľ
- 503
- Service unavailable: dočasný výpadok alebo údržba
- 504
- Gateway timeout: nadväzujúci poskytovateľ neodpovedal včas