Skip to Content
OPENCBSDevelopers
409 Conflict

Ledger no journal to cancel

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

CodeLEDGER_NO_JOURNAL_TO_CANCEL
HTTP status409 Conflict
Typehttps://docs.cbs.bftlabs.org/errors/LEDGER_NO_JOURNAL_TO_CANCEL

Example response

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

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