approver_not_eligible
The person deciding isn’t an approver of the rule that paused the action.
HTTP 403 · permission_error · not retryable
What happened
Section titled “What happened”The person deciding isn’t an approver of the rule that paused the action. Eligibility is read live when you vote: role:admin means an admin or owner, role:owner an owner, and user:<email> that member. A role that changed after the email was sent counts as it is now.
What to do
Section titled “What to do”Ask one of the approvers the message names, or ask an owner to change your role in Console › Settings.
Example
Section titled “Example”{ "error": { "type": "permission_error", "code": "approver_not_eligible", "message": "Rule \"large-refunds-need-approval\" needs role:admin or user:priya@acme.com to countersign. Ask one of them.", "param": null, "request_id": "req_01j9zr3m5k8q2w7x4t6v0b1c9d", "doc_url": "https://docs.deedglass.com/errors/approver_not_eligible" }}The message is for a person and can get more exact over time: branch on type and code, never on the message.
In the SDKs
Section titled “In the SDKs”| SDK | Raised as |
|---|---|
TypeScript (@deedglass/sdk) |
PermissionDeniedError with code === "approver_not_eligible" |
Python (deedglass) |
deedglass.PermissionDeniedError with .code == "approver_not_eligible" |