Skip to content

Business rule violation ​

HTTP 422   business_rule_violation

What it means ​

A TxGold rule refused the request. detail says which.

What to do ​

Read detail; contact TxGold support with the request id if it isn't clear.

The response ​

json
HTTP/1.1 422
Content-Type: application/problem+json

{
  "type": "https://docs.txgold.money/errors/business_rule_violation",
  "title": "Business rule violation",
  "status": 422,
  "code": "business_rule_violation",
  "detail": "…",
  "requestId": "7219af94e39d"
}

Branch on code, never on title or detail: the code never changes once published, and the text may. Quote requestId to TxGold support. See all errors.

The SDKs are MIT licensed.