Factuarea API

business_rule_violation

A domain invariant rejected the operation. This code carries the family; `error.subcode` names the concrete rule and `error.message` explains it.

CodeTypeHTTPCategory
business_rule_violationinvalid_request_error422Request

Cause

A domain invariant rejected the operation. This code carries the family; error.subcode names the concrete rule and error.message explains it.

What to do

Look up error.subcode in the error reference: the payload may be perfectly valid and the operation still not allowed in the current state.

On this page