organization_access_revoked
The token is valid, but its user has left the organization it acts for.
Status
HTTP 403, title Organization access revoked. One of the credentials errors. Branch on code, never on the status or the prose.
Retryable: no. Every body carries this as retryable: false, beside action and remedy: the same request will fail again until the request changes or a person acts.
Common causes
- The user was removed from, or left, the organization.
What to do
Action: Re-authorize against an organization the user still belongs to.
The user has left the organization the token acts for. Re-authorize against one they are still in.
Example
The body arrives as application/problem+json, with retryable and the remedy above. Most responses add detail about the occurrence, and some add fields of their own.
{
"type": "https://www.shortsintel.com/docs/reference/errors/organization_access_revoked",
"title": "Organization access revoked",
"status": 403,
"code": "organization_access_revoked",
"retryable": false,
"action": "Re-authorize against an organization the user still belongs to.",
"remedy": "The user has left the organization the token acts for. Re-authorize against one they are still in."
}