forbidden
The credential may not make this call here
403 · Retry: no. The key or token may not make this call here.
details.reason says why. Nothing was done.
Reasons
This table lists every reason, and the fix.
details.reason | Means | Fix |
|---|---|---|
personal_token_required | The route takes a personal access token, and a project API key was sent | Call it with a personal access token |
personal_token_not_supported | The route does not take a personal access token | Call it with a project API key |
environment | The token was not made for the environment the call names, or for live | Send x-mapier-environment naming an environment the token was made for |
role | The token's owner no longer holds a role that allows this | Ask an admin for the role, or use a token of somebody who has it |
A token is never more than its owner: it needs the scope a route names and the
same right in its owner's role now, read on every call. A token made for test
alone gets environment when it sends no x-mapier-environment, because a call
that names none is live. See
Personal access tokens.
Example
{
"error": {
"code": "forbidden",
"message": "This route takes a personal access token.",
"details": {
"reason": "personal_token_required"
},
"requestId": "0192c4e1-…",
"docUrl": "https://docs.mapier.ai/convo/api/errors#forbidden.personal_token_required",
"retryable": false
}
}