DocsAPIAPPROVAL_REVIEW_FORBIDDEN.md
APPROVAL_REVIEW_FORBIDDEN
- HTTP status
- 403
- Details payload
{ approvalRequestId: string, action: "approve_and_apply" | "decline", reason: "SELF_REVIEW_NOT_ALLOWED" | "ROLE_NOT_ALLOWED" }
Cause
This principal may not perform this Review.
Fix
details.reason distinguishes the two cases. SELF_REVIEW_NOT_ALLOWED means the proposer cannot approve their own request, so route it to someone else. ROLE_NOT_ALLOWED means this principal's role does not review at all.