Skip to Content
OPENCBSDevelopers
422 Unprocessable Content

Regulatory profile not in force

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

CodeREGULATORY_PROFILE_NOT_IN_FORCE
HTTP status422 Unprocessable Content
Typehttps://docs.cbs.bftlabs.org/errors/REGULATORY_PROFILE_NOT_IN_FORCE

Example response

application/problem+json
{
  "type": "https://docs.cbs.bftlabs.org/errors/REGULATORY_PROFILE_NOT_IN_FORCE",
  "title": "Regulatory profile not in force",
  "status": 422,
  "detail": "A sentence about this occurrence, safe to show to the user.",
  "instance": "/api/v1/…",
  "code": "REGULATORY_PROFILE_NOT_IN_FORCE"
}

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