Error log - Need to know what this error means

Title
frappe.email.queue.flush
Error
(534, ‘5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbui\n5.7.14 cMX010ITzfKSb9Wyuw5OA_Uv2iGuShE3c6rggrxRGbVHGFa7vyw8Vgvq_FNkUc3dafoWw4\n5.7.14 he6_nut8-PMbKqqZTX_V7r0VvcrN1xSE7XS-FNrvlm3az79EYUvlfRRPNicpRifWkJfEdO\n5.7.14 Ow0bifQ2HmrzzW4ERlbXhl5yGLkrjxaeeT8o66sVdVnv7nbrxqgpMb4VjWsmeCRBknISRi\n5.7.14 JK8FXNiBBG7b_uWpem6lJDeXjJAl8> Please log in via your web browser and\n5.7.14 then try again.\n5.7.14 Learn more at\n5.7.14 Check Gmail through other email platforms - Gmail Help n66sm1343752pfn.111 - gsmtp’)
Traceback (most recent call last):
File “/home/administrator/frappe-bench/apps/frappe/frappe/email/queue.py”, line 421, in send_one
smtpserver.sess.sendmail(email.sender, recipient.recipient, encode(message))
File “/home/administrator/frappe-bench/apps/frappe/frappe/email/smtp.py”, line 213, in sess
raise_(frappe.ValidationError, e, traceback)
File “/home/administrator/frappe-bench/apps/frappe/frappe/email/smtp.py”, line 195, in sess
(self.password or “”).encode(‘utf-8’))
File “/usr/lib/python2.7/smtplib.py”, line 622, in login
raise SMTPAuthenticationError(code, resp)
ValidationError: (534, ‘5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbui\n5.7.14 cMX010ITzfKSb9Wyuw5OA_Uv2iGuShE3c6rggrxRGbVHGFa7vyw8Vgvq_FNkUc3dafoWw4\n5.7.14 he6_nut8-PMbKqqZTX_V7r0VvcrN1xSE7XS-FNrvlm3az79EYUvlfRRPNicpRifWkJfEdO\n5.7.14 Ow0bifQ2HmrzzW4ERlbXhl5yGLkrjxaeeT8o66sVdVnv7nbrxqgpMb4VjWsmeCRBknISRi\n5.7.14 JK8FXNiBBG7b_uWpem6lJDeXjJAl8> Please log in via your web browser and\n5.7.14 then try again.\n5.7.14 Learn more at\n5.7.14 Check Gmail through other email platforms - Gmail Help n66sm1343752pfn.111 - gsmtp’)

Hi @airzoink,

I think you are using Gmail as your mail relay. In order to allow this, you have to lower the security profile “allow unsecure apps” or something like this in the Gmail account for the authentication to be accepted. Refer to the help page at Check Gmail through other email platforms - Gmail Help

Hope this helps.

Thanks! I just allowed gmail to allow unsecured apps. I will observe if it solves the errors.

As @lasalesivsays this should work. Good luck

@airzoink Did it work for you?

Yes! Go to your gmail account and allow unsecured apps.