Gmail error out of the blue

Hi,

This process worked yesterday but now it shows this:

Google.Apis.Requests.RequestError
Precondition check failed. [400]
Errors [
Message[Precondition check failed.] Location[ - ] Reason[failedPrecondition] Domain[global]
]

at Google.Apis.Requests.ClientServiceRequest1.<ParseResponse>d__35.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Google.Apis.Requests.ClientServiceRequest1.d__31.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Shared.Api.Google.Gmail.Extensions.GmailExtensions.d__2.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Mail.Google.Gmail.GmailServiceProxy.<>c__DisplayClass20_0.<b__1>d.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Mail.Google.Gmail.GmailServiceProxy.GetFolderFilteredMessages(String folderPath, String account, Object filter, Boolean includeSubfolders, Nullable1 count, CancellationToken cancellationToken) at UiPath.Mail.Google.Gmail.GmailFolderMailsWrapper.GetEnumerator() at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext()
at UiPath.Shared.Activities.Business.ForEachEnumeratorExtensions.Iterate[T](Variable1 enumeratorVariable, NativeActivityContext context, ActivityInstance completedInstance, Boolean exitLoop, Action1 doAction, Action1 completedAction, Action1 exitAction)
at UiPath.Mail.Activities.Business.ForEachEmailX.InternalExecute(NativeActivityContext context, ActivityInstance completedInstance)
at UiPath.Mail.Activities.Business.ForEachEmailX.Execute(NativeActivityContext context)
at System.Activities.NativeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

Any ideas?

Thank you!

Hello @Androk

Are you using the GSuite package? If yes, can you try adding the Gmail api again to the workspace.

Also is there any uipath package upgrade happened?

No upgrades to the process or packages as far as I know, only if they updated automatically.

Will try your suggestion tomorrow when at the office.

Thank you!

It fixed itself today… didn t do anything and now it works with no intervention. Thanks.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.