<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Gmail Workflow Connector - On Connection Setup, Receive 403 Error "Request had insufficient authentication scopes."
Workflows
Okta Classic Engine
Okta Identity Engine
Overview

When trying to authorize or re-authorize a Gmail Connector in Workflows, a 403 Error is received after clicking Continue, and the Gmail Connector is not set up correctly. Here is what the full error may look like:
 

{
    "error": {
        "code": 403,
        "message": "Request had insufficient authentication scopes.",
        "errors": [
            {
                "message": "Insufficient Permission",
                "domain": "global",
                "reason": "insufficientPermissions"
            }
        ],
        "status": "PERMISSION_DENIED",
        "details": [
            {
                "@type": "type.googleapis.com/google.rpc.ErrorInfo",
                "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT",
                "domain": "googleapis.com",
                "metadata": {
                    "service": "gmail.googleapis.com",
                    "method": "caribou.api.proto.MailboxService.GetProfile"
                }
            }
        ]
    }
}

 

Applies To
  • Workflows
  • Gmail Connector 
    • initial Setup
    • re-authorization
Cause

The necessary permissions (scopes) were not granted when setting up the Gmail Connector in the Workflows Console. This action occurs after selecting the Google Account when setting up the Gmail Connector.

Solution

In Workflows Console > Connections:

  1. Create a New Connection for Gmail (or re-authorize the existing connection encountering the error).
  2. Select or enter the Google account to associate with the connection.
  3. On the following screen, Select All items to grant permission to all the necessary items.

Okta Preview Workflows  

  1. Press Continue.

 

Related References

Loading
Gmail Workflow Connector - On Connection Setup, Receive 403 Error "Request had insufficient authentication scopes."