Skip to Content
OPENCBSDevelopers
400 Bad Request

Request failed

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

CodeREQUEST_FAILED
HTTP status400 Bad Request
Typehttps://docs.cbs.bftlabs.org/errors/REQUEST_FAILED

Example response

application/problem+json
{
  "type": "https://docs.cbs.bftlabs.org/errors/REQUEST_FAILED",
  "title": "Request failed",
  "status": 400,
  "detail": "A sentence about this occurrence, safe to show to the user.",
  "instance": "/api/v1/…",
  "code": "REQUEST_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