Account not granted

What the ConnectionOAuthAccountNotGranted error (422 Unprocessable Content) means, the fields it carries, and the endpoints that return it.

The API answers 422 Unprocessable Content with this problem. Its type is https://lingo.dev/docs/api/errors/connection-oauth-account-not-granted. See Errors and status codes for the shape every error shares.

The GitHub user who authorized cannot access that GitHub account, so nothing was connected. Authorize as a GitHub user who can.

Fields #

Besides the standard type, status, title and detail members, the body carries these fields. The detail text is built from them, so a client can show its own text instead.

FieldType
provider"github" | "zendesk" | "payload" | "jira" | "crowdin" | "blend" | "wordpress"
accountstring

Example #

json
{
  "detail": "The GitHub user who authorized cannot access that GitHub account, so nothing was connected. Authorize as a GitHub user who can.",
  "provider": "github",
  "account": "<account>",
  "type": "https://lingo.dev/docs/api/errors/connection-oauth-account-not-granted",
  "status": 422,
  "title": "Account not granted"
}