Fix Gmail IMAP Invalid Credentials or Web Login Requires (Failure) Error
When accessing Gmail via IMAP access by using any email client including iPhone, Apple Mail, Thunderbird and Outlook, the following error message may appear, requesting user to manually input the user name and password again in order to authenticate with Google’s Gmail or GoogleMail IMAP server again.
Your IMAP server wishes to alert you to the following: Invalid credentials (Failure)

The error looks like a Gmail mechanism to protect against robots or automated scripts, and probably to stop and halt abnormal bandwidth utilization (upload and download) or abusing account activity such as using Gmail as storage space drive or transferring other mail account to Gmail.
Another reason for the invalid credentials or web login requires error to happen is too frequent mail checking. Gmail Help recommends to set mail client to check for new messages not more than once every 10 minutes.
If you’re very sure that you’re using a correct password and username (with @gmail.com after the user name), and not checking email in Gmail’s Inbox too frequently, you may need to clear and unlock the CAPTCHA. To unlock CAPTCHA for Gmail account, go to the following URL:
https://www.google.com/accounts/DisplayUnlockCaptcha
Note: For Google Apps user, visit https://www.google.com/a/yourdomain.com/UnlockCaptcha instead, with yourdomain.com as the valid domain name.
Type in the email address, password for the Gmail address, and fill in the correct Captcha validation. Click on “Unlock” button to fix the IMAP failure error.
For user who still faces the problem after clear the Captcha can try to use an alternative IMAP server instead, which is imap.googlemail.com on SSL port 993.
Related Articles
- cPanel Invalid License File After Changing Hostname Error
- How to Delete Emails from Gmail IMAP Access Mail Client
- How to Apply Multiple Labels to Gmail Messages in IMAP Client
- How to Recover and Reset Gmail (Google Account) Password
- How to Transfer Emails from One Gmail to Another Gmail Mailbox
- How to Change Hostname in cPanel Web Host
- ORA-01502 Oracle Index in Unusable State
- How to Backup And Restore Email In Gmail Account Easily
- How To Send Mail As Hotmail (smtp.live.com) in Gmail
- Unable to Login to Windows Live (MSN) Messenger with 80048820 Extended 80048416 Error Code










































December 14th, 2009 00:42
Hello,
(sorry for my english)
It’s dont works!
The impa is active in my gmail account
i’ve unlock the captcha
I’v try with imap.googlemail.com
But i’ve the message : invalid Credentials (Failure)
Do you have any solution?
thanks you
December 6th, 2009 08:04
DUDE!! I love you so much man you definitely saved me, I was really starting to PANIC, none of my google services were working on my palm pre. Now I’m back in business thanks to you. THANKS!
December 1st, 2009 00:51
It was really very useful. Thanks a lot.
November 13th, 2009 17:31
Hi Dude
It is really useful. I faced many problems due to this while connecting to google apps frm my code.
Thanks a lot. Keep sharing such hidden inforamation