javax.mail.AuthenticationFailedException: [ALERT] Invalid credentials (Failure)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by pinocent, 10 months ago
[ALERT] Invalid credentials (Failure)
via Oracle Community by 843834, 1 year ago
Logon failure: unknown user name or bad password.
via Google Groups by Glen Holcomb, 10 months ago
[ALERT] Invalid credentials (Failure)
javax.mail.AuthenticationFailedException: [ALERT] Invalid credentials (Failure)
at javax.mail.Service.connect(Service.java:291)
at com.google.code.samples.xoauth.XoauthAuthenticator.connectToImap(XoauthAuthenticator.java:108)
at com.google.code.samples.xoauth.XoauthAuthenticator.main(XoauthAuthenticator.java:127)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
27 times, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
16 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.