Skip to Content
OPENCBSDevelopers
500 Internal Server Error

Internal error

The API answers with INTERNAL_ERROR as an RFC 9457 problem document.

CodeINTERNAL_ERROR
HTTP status500 Internal Server Error
Typehttps://docs.cbs.bftlabs.org/errors/INTERNAL_ERROR

Example response

application/problem+json
{
  "type": "https://docs.cbs.bftlabs.org/errors/INTERNAL_ERROR",
  "title": "Internal error",
  "status": 500,
  "detail": "A sentence about this occurrence, safe to show to the user.",
  "instance": "/api/v1/…",
  "code": "INTERNAL_ERROR"
}

Branch on code, not on title or detail: the code is stable, the wording is not. Extra context, such as field errors in details.errors[].field_path, arrives under details.

All errors