Authentication Failed Invalid Credentials error while using SMTP or IMAP services

0 votes

I created a RPA bot usimng Uipath and wanted it to read mails from gmail and also send mails to my gmail account, but every time I am running the code I'm getting this error- 'Authentication Failed'. Sometimes it says Invalid Credentials, but I am putting the right credentials for my gmail login.Please help, if anyone knows how to resolve this issue? 

Mar 4, 2019 in RPA by Smita

edited Mar 4, 2019 6,989 views

1 answer to this question.

0 votes

Hi @Smita, you are facing this problem because Gmail allows highly secure transmissions and blocks any app which tries to access or send mails to gmail. So to resolve this error, try allowing the 'Allow Less Secure Apps' feature in security settings of your google account. 

Go to this link https://myaccount.google.com/ and click on  'Security'. Then scroll down and navigate to 'Less Secure App Access'. Now click on 'Turn On Access'

Now run your bot and try sending or receiving email. I hope it will work.

answered Mar 4, 2019 by Anvi
• 14,150 points
I have done this too but still, it is showing bad credentials.

Hey Rimjhim, in the Server name are you putting smtp@gmail.com or smtp.gmail.com? Can you please share the screenshot of your workflow?

Related Questions In RPA

0 votes
1 answer

Which is better IMAP or POP3 while accessing mails from UiPath?

Hey Sofia, to understand which one is better ...READ MORE

answered Mar 12, 2019 in RPA by Abha
• 28,140 points
1,816 views
+1 vote
1 answer

while using error handling in automation anywhere, How to notify client about the error without using send email option ?

Hey Dhruv, while using error handling in ...READ MORE

answered Oct 10, 2019 in RPA by Abha
• 28,140 points
2,469 views
+1 vote
1 answer

Does Enterprise UIPath license comes with Orchestrator services or do we need to purchase seperate license for using Orchestrator ?

UiPath Enterprise license should include Orchestrator services ...READ MORE

answered Jun 29, 2020 in RPA by Lyana
1,192 views
0 votes
1 answer

Error : Failed to perform step 1 in Navigate Stage '-----' on page '----' - Not Connected

Do you have Attach bookmark created? When ...READ MORE

answered Sep 28, 2018 in RPA by Priyaj
• 58,090 points
15,937 views
0 votes
1 answer

Robot Manager in UiPath

the robot.exe file is located in: C:\Users\USER_ACCOUNT\AppData\Local\UiPath\app-17.1.6523\Ui-Robot.exe Hope it ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,110 points
1,578 views
0 votes
1 answer

Automation in Uipath

you can use the Database package for connecting  ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,110 points
1,311 views
0 votes
1 answer

UiPath vs Workfusion

in WorkFusion, you can create a script ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,110 points
2,395 views
0 votes
3 answers

Any open source tools for RPA ?

Yes, here is the Free RPA tool ...READ MORE

answered Oct 24, 2018 in RPA by Karthiksiddhu
• 240 points
1,510 views
0 votes
2 answers

How can I check if an element or window exists using UiPath Studio?

Element Exists help you READ MORE

answered Jun 24, 2019 in RPA by anonymous
25,132 views
0 votes
4 answers

Pivot table in excel using UIpath

You can use Create Pivot Table activity ...READ MORE

answered Feb 26, 2019 in RPA by Anvi
• 14,150 points
4,832 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP