Skip to Content
OPENCBSDevelopers
500 Internal Server Error

The statement could not be produced

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

CodeSTATEMENT_RENDER_FAILED
HTTP status500 Internal Server Error
Typehttps://docs.cbs.bftlabs.org/errors/STATEMENT_RENDER_FAILED

Example response

application/problem+json
{
  "type": "https://docs.cbs.bftlabs.org/errors/STATEMENT_RENDER_FAILED",
  "title": "The statement could not be produced",
  "status": 500,
  "detail": "A sentence about this occurrence, safe to show to the user.",
  "instance": "/api/v1/…",
  "code": "STATEMENT_RENDER_FAILED"
}

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