AuthenticationFailedException: [AUTHENTICATIONFAILED] Invalid credentials (Failure) Edited

We've noticed our email haven't been coming into our JIRA Cloud instance. I first of all checked the POP / IMAP Mail server we have setup to suck emails out of our GMail host using the 'Test Connection' button. It however failed with the 'AuthenticationFailedException: [AUTHENTICATIONFAILED] Invalid credentials (Failure)' error (see below).

I then thought someone must have changed the password so I logged in to the GMail website using the credentials but that was OK and let me in. 

I tried entering the password into the JIRA form again clicking 'Update' to save it regardless of the failed test connection but the emails remained unread in the inbox.

I followed the instructions I found on but the account does not have 2 factor authentication and it does have "less secure access" enabled under the account.

Is there any way to further find out a more specific error, is this happening for other people or does it just impact our JIRA <--> GMail connection? It is difficult to tell which side of the interface is the problem.

Any help would be appreciated.image.png


1 answer

1 accepted

3 votes
Accepted answer

Hi Simon,

If you are on Jira Server, were you able to get any further details from the Jira logs? 

Google also suggestions going to display unlock Captcha if those steps you already tried don't work.

Kind Regards,

Hi Shannon,

Thanks for your suggestions, we're on on cloud hosting and I did try the 'display unlock Captcha' too.

We did get a burst of emails though yesterday, including many, many, many duplicates from single emails, but trying the test button now it still tells me that authentication failed.


What if you change the username to the full email? Google suggests that here: Read Gmail messages on other email clients using IMAP


Kind Regards,


Good find Shannon, worked a treat! Thanks for your help

(I've accepted the answer but it was the comment under the answer that was the solution)

Great :) Glad I could help.

No worries, the thread isn't too long so it should still help others in the future.

Take care and Kind Regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Jira

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,094 views 0 8
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you