Errors
policy_violation
The action exceeds a configured safety policy
The action was blocked locally by a configured safety policy before reaching the chain.
Policies cap what a session is allowed to do (spend limits, allowed operations). this is a deliberate guardrail: if the action is intended, raise or remove the relevant policy limit in your configuration and rerun.
Remediation
The action exceeds a configured safety policy
Chain errors
No chain error classifies to this code — it is raised client-side by the SDK before or after the call reaches the chain.
The same explanation is available in the terminal: btcli explain policy_violation (or btcli explain <ChainErrorName> for one exact chain error).