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
Showing 7 of 74 errors
General
General application error.7 errors- 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
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