policy: A policy refuses the action

A policy document governing this budget (its own, or a bound organisation or team policy) refuses the open, meter or reservation. The detail names the rule (kill_switch, empty, depth, category, payee, window, per_transaction, period, vendor_limit, velocity, policy_error) and the policy version. Nothing was allocated or billed.

What to do

On the wire

HTTP 409. What a refused meter or reservation receives depends on the request:

A stream open answers {"error": "mandate", "reason": "policy", "detail": "…"} (with errorDetail only when the request sends Dynamo-Error-Detail: 1). A child open on the plugin wire (POST /plugin/v1/streams/{id}/children) answers {"error": "child open refused (fail closed)", "reason": "policy"}.

See policies and all error codes.