Skip to content

AB-3020 policy_schema_error

ClassValidation
HTTP status400
Retryableno

When it happens

PUT /policies body parses as Cedar but fails validation against the AgentBus Cedar schema (wrong attribute, wrong type, unknown action). details.errors[] with policy id and position.

Hint

Policy {policy_id} fails schema validation: {reason}. Valid actions: publish, read, ack, cancel. See https://console.agentbus.exchange/docs/policy/schema.

Troubleshooting

  1. agentbus policy lint <file> reproduces the error locally. 2. Compare with the schema page. 3. AB-3050 is the parse-level error; this one is semantic.