Documentation Index
Fetch the complete documentation index at: https://docs.goantiai.com/llms.txt
Use this file to discover all available pages before exploring further.
Step 1 — Find the denial in the audit log
Go to Audit Log and filter by event typeoauth.token_denied and outcome failure. Click the event to see the full details including the exact input that was evaluated.
Step 2 — Use the What-If Tester
Go to Policies → [your policy] → What-If and enter the same request:Step 3 — Fix the policy
Update the policy in the editor. Use Shadow Mode to test the fix in production before activating:- Update the policy with Shadow Mode on
- Monitor the audit log for 24 hours
- Click Activate when confident
Common denial reasons
| Reason | Fix |
|---|---|
| No policy assigned | Go to agent Settings → Policies and assign one |
| Wrong scope format | Use lowercase colon-separated: stripe:customer:read |
| Agent is suspended | Check the agent’s status badge |
| Policy in shadow mode | Shadow mode evaluates but doesn’t enforce — activate it |
| Rego syntax error | A policy with a syntax error defaults to deny — use Preview to validate |