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
}
- Workflows Gmail connector
- Gmail cards that require domain-wide delegation
There are a few known reasons this error can occur:
- 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.
- 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.
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.
