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.reasonMeansFix
personal_token_requiredThe route takes a personal access token, and a project API key was sentCall it with a personal access token
personal_token_not_supportedThe route does not take a personal access tokenCall it with a project API key
environmentThe token was not made for the environment the call names, or for liveSend x-mapier-environment naming an environment the token was made for
roleThe token's owner no longer holds a role that allows thisAsk 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

403 Forbidden
{
  "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
  }
}

Next