question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

login with Gmail failed with unclear message

See original GitHub issue

Actual behavior

When login with Gmail account I got this error message username or password incorrect (command: *sensitive*; response: #3# [No,[ALERT],Please login via web browser: http://support.google.com/mail/accounts/answer/78754(Failure)]) which is not a very useful message. after searching on google I found the solution is to https://www.google.com/settings/security/lesssecureapps and enable access for less secure apps.

Expected behavior

I should log into Gmail without much trouble, I know this might take a lot of time; so I propose at least in the mean time to show the user more meaningful name with the link to this page. as it’s not convenient for first time user to search the web for a solution.

Steps to reproduce

  1. Login with Gmail account with lesssecureapps turned off.

Environment

K-9 Mail version: 5.205

Android version:6.0, 7.0, 7.1

Account type (IMAP, POP3, WebDAV/Exchange): Gmail

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
philipwhiukcommented, Mar 14, 2017

Error response improvement is (partially) covered in my Enhanced Status Code work.

OAuth work is mostly implemented in terms of backend work. It needs some UI work to finish off, especially in terms of supporting both Google and none Google providers.

You should already be able to use app specific​ passwords.

0reactions
ropericommented, Apr 24, 2017

I was getting the same error message and couldn’t work out what was going on (I just came across this Github). At first I thought error message had to do with the 2 step verification process I had it turned it ON so I turned it OFF. But that didn’t stop the error message from showing up again.

After reading the contents of the link referred by the error message I turned OFF the Allow the Less Secure Apps to be able to open my mails. So I agree with @humazed, the error message should refer to the Google’s Less Secure Apps page or directly to https://myaccount.google.com/lesssecureapps

Read more comments on GitHub >

github_iconTop Results From Across the Web

login with Gmail failed with unclear message #2381 - GitHub
Actual behavior When login with Gmail account I got this error message username or password incorrect (command: *sensitive*; response: #3# ...
Read more >
I got an error in Gmail - Google Help
If you're seeing a "Temporary Error (502)" message when you try to sign in to Gmail, your mail is temporarily unavailable. This error...
Read more >
How to Fix 'Be Careful With This Message' Error in Gmail (2022)
How to Fix 'Be Careful With This Message' Error in Gmail ; 1. Check Your DMARC, DKIM, and SPF Records. Solution: Check Your...
Read more >
'Send Mail As' with Gmail - Fixing the Authentication Failed ...
Below you'll learn how to fix the Gmail Server error which appears when adding a Google ... Enter your personal gmail username and...
Read more >
Gmail login and authentication problems with Apple Mail?
It's unclear why, but sometimes Apple Mail gets tagged as an insecure app by your Google account. When this happens, Google refuses to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found