Skip to Content
OPENCBSDevelopers
409 Conflict

Org code not unique

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

CodeORG_CODE_NOT_UNIQUE
HTTP status409 Conflict
Typehttps://docs.cbs.bftlabs.org/errors/ORG_CODE_NOT_UNIQUE

Example response

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

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