Authentication Fail...
Clear all

Authentication Failed Invalid Credentials error while using SMTP or IMAP services  


Ganesh A
Noble Member
Joined: 4 months ago
Posts: 1170
08/03/2021 9:47 am  

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? 


Noble Member
Joined: 4 months ago
Posts: 1179
08/03/2021 9:52 am  

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.