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
6 von 74 Fehlern
Plattform
Von der Plattform selbst ausgelöst (Anmeldung, Ratenlimits, Infrastruktur).6 Fehler- 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
Format 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