API error codes

From BizKitHub Docs, the API reference
Every error the BizKitHub API can return. Each response carries a stable errorCode next to the HTTP status. Match on the code, not on the message, because messages may be reworded. For codes in the platform log, see system log codes.
/
Status
Categories
PlatformRaised by the platform itself (auth, rate limits, infrastructure).6 errors
INTERNAL_ACCOUNT_CAN_NOT_DETERMINATE_USER_IPCan not determinate user IP.
INTERNAL_COMGATE_PRODUCTION_NOT_ENABLEDComgate merchant is configured for production but only test mode is enabled on the gateway side.
INTERNAL_FIO_API_UNAVAILABLEFio API is temporarily unavailable.
INTERNAL_FIO_STATEMENT_INVALIDFio bank statement is malformed.
INTERNAL_FIO_TOKEN_INACTIVEFio API token is inactive.
INTERNAL_ORDER_INSERT_FAILEDInserting order failed
Public APIReturned by public /api/v1 endpoints to API-key clients.1 error
PUBLIC_STORAGE_LIMIT_REACHEDThe storage limit of the organisation is reached. New files are not accepted until data is removed or a higher storage plan is active.
Showing 7 of 82 errors

Error response format

Every error has the same JSON shape. hint is present when the code has a description, and documentationUrl links straight to the code's page here.

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 status classes

4xx · Client error

HTTP 4xx. The request needs fixing before a retry.

400
Bad request: invalid or missing input
401
Unauthorized: missing or invalid API key or session
403
Forbidden: authenticated, but not allowed
404
Not found: the resource does not exist
429
Too many requests: back off and retry later

5xx · Server error

HTTP 5xx. The platform failed. Retry after a delay.

500
Internal server error
502
Bad gateway: an upstream provider failed
503
Service unavailable: temporary outage or maintenance
504
Gateway timeout: an upstream provider did not answer in time