Exception: please login via your web browser thrown by get imap mail message activity

Hello,

I am trying to use Get Imap mail messages activity in my workflow, but it is throwing exception as below.

Main has thrown an exception

Source: Get IMAP mail messages

Message: Please log in via your web browser: Check Gmail through other email platforms - Gmail Help (Failure)

Exception Type: AuthenticationException

MailKit.Security.AuthenticationException: Please log in via your web browser: Check Gmail through other email platforms - Gmail Help (Failure)
at UiPath.Mail.Activities.GetMailActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Please help to resolve this exception.

Hey @Akash_Kamboj

It is clearly mentioned check your credential of gmail account.

Regards…!!
Aksh

Hey@aksh1yadav

Thanks for reply.

The problem was with gmail account setting. It was not allowing to login from less secure applications.
It is resolved now.

1 Like