<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
"Invalid authorization header for auth refresh" Error when Using Certain Gmail Connector Cards in Workflows
Workflows
Okta Classic Engine
Okta Identity Engine
Overview

When using certain Gmail connector cards in a workflow that requires domain-wide delegation, the following error may occur:

{
  "_error": true,
  "retry_count": 0,
  "flo": 241703,
  "method": "_GDIXOkPf",
  "execution": "b685df00-76b8-410f-80be-fd894f78c761",
  "module": "gmail.setAutoReply",
  "kind": "System Module Error",
  "message": "Invalid authorization header for auth refresh.",
  "code": 500,
  "description": "System Module Error",
  "steps": 50,
  "source": {
    "flo": "gmail:1.3.202:setAutoReply",
    "method": "ALjm2Aj3G1DD",
    "execution": "4c0a4494-ef7e-4dd7-b5db-8352962e1378",
    "module": "http.post"
  },
  "_fatal": null
}

 

Applies To
  • Workflows Gmail connector
  • Gmail cards that require domain-wide delegation
Cause

There are a few known reasons this error can occur:

  1. The domain-wide delegation, which is one step involved in configuring the Transfer of Ownership features required by the Gmail connector, is not configured properly in Google Workspace Admin.
  2. The Set Auto Reply card is being used, and the Email input is set to a Google group rather than a user. The Set Auto Reply does not support setting auto replies for Google groups.
Solution

Verify that the Transfer of Ownership features required by the Gmail connector have been configured properly per the following article: How to set up the Transfer of Ownership Features for the Workflows Gmail connector.  Specifically, the "Invalid authorization header for auth refresh" may occur if the Transfer of Ownership features have been configured in GCP, but domain-wide delegation has not been configured properly for the GCP service account client ID in the Google Workspace Admin site.

Related References

Loading
"Invalid authorization header for auth refresh" Error when Using Certain Gmail Connector Cards in Workflows