I’m working on building an RPA workflow solution that uses a Gmail email arrival trigger. I’ve set up the connection using Google Workspace with OAuth2 authentication. The “Test Trigger” runs successfully, but when I try to execute it through “Test on Cloud,” I encounter a connection request error. I’ve tried using different email addresses, folders, and access configurations, but the issue remains unresolved.
Error :
UiPath.GSuite.Exceptions.GSuiteException: Connection [132d7e98-8201-4f38-99e8-3f5d5971ebea] is invalid or you do not have access to it
at UiPath.GSuite.Activities.BaseLeafConnectionServiceActivityWithoutBindings.ExecuteAsync(AsyncCodeActivityContext context, CancellationToken cancellationToken)
at UiPath.Shared.Activities.AsyncTaskCodeActivityImplementation.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at UiPath.Shared.Activities.AsyncTaskCodeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at UiPath.Shared.Activities.ContinuableAsyncCodeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at UiPath.GSuite.Activities.GoogleBaseClientActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
UiPath.GSuite.Exceptions.GSuiteInternalException: Connection [132d7e98-8201-4f38-99e8-3f5d5971ebea] is invalid or you do not have access to it
at UiPath.ConnectionClient.Helpers.HttpResponseMessageExtensions.EnsureConnectionStatusCodeAsync(HttpResponseMessage response, CancellationToken ct)
at UiPath.ConnectionClient.Helpers.HttpConnectionServiceClient.RequestAsync(Uri uri, HttpMethod method, String content, TimeSpan timeout, Dictionary
2 headers, CancellationToken ct) at UiPath.ConnectionClient.Helpers.HttpConnectionServiceClient.RequestAsync[T](Uri uri, HttpMethod method, String content, TimeSpan timeout, Dictionary
2 headers, CancellationToken ct)