This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

400 error after I changed a password

  • 7 respostas
  • 4 have this problem
  • 1 view
  • Last reply by david

more options

Hi. I love Thunderbird! But I cannot use a Gmail account.

It all started when I changed the underlying password for my Gmail account (for routine security). I changed the password too on my Thunderbird client for SMTP and IMAP.

But then it popped up with: https://accounts.google.com/v3/signin/identifier?app_domain=http://localhost& [etc]

it keeps giving me this message:

"400. That’s an error. The server cannot process the request because it is malformed. It should not be retried. That’s all we know."

I've tried to read online what's going on. I've deleted the account and tried to set up again, and closed Thunderbird. It keeps doing this. I've checked Google settings ... nothing untoward. It doesn't have a link to Thunderbird still.

What can I do?

Thanks, Dan

Hi. I love Thunderbird! But I cannot use a Gmail account. It all started when I changed the underlying password for my Gmail account (for routine security). I changed the password too on my Thunderbird client for SMTP and IMAP. But then it popped up with: https://accounts.google.com/v3/signin/identifier?app_domain=http://localhost& [etc] it keeps giving me this message: "400. That’s an error. The server cannot process the request because it is malformed. It should not be retried. That’s all we know." I've tried to read online what's going on. I've deleted the account and tried to set up again, and closed Thunderbird. It keeps doing this. I've checked Google settings ... nothing untoward. It doesn't have a link to Thunderbird still. What can I do? Thanks, Dan

Chosen solution

Here is what I do and it has worked for me: - delete account - exit thunderbird and restart - check settings>privacy&security to be sure that cookies are accepted - create the gmail account but OMIT the password. Thunderbird has the normal settings if IMAP. - when checking for mail, google prompt should ask for password. after that, a screen will appear with ALLOW button. Check that. - normally, that is all I need.

Ler a resposta no contexto 👍 6

All Replies (7)

more options

Gmail does its own thing, but try this: - click settings>privacy&security' - click 'saved passwords' and then'show passwords' - highlight the two rows for that account and delete them - that removes the OLD gmail password - now try again to receive messages and that may generate the google prompt for new password.

more options

Thanks David. Unfortunately that didn't do anything. The passwords are showing as blank.

This is really weird. On the page "Set up your existing email address" the "checking password" box still has a green blob bouncing left to right. It then triggers the Google pop up screen with the same message. I can't seem to do anything.

Is there a way to reset Thunderbird or Gmail? It was obviously fine before but now for some reason it is 'polluted' with something. If you want me to send any other diagnostics or screengrabs please LMK

more options

this may work: - exit TB - delete logins.json, key4.db, and cert9.db (or rename them) - restart tb and attempt to connect.

more options

Thanks David. Unfortunately that didn't solve my problem and now it's had other problems. I had 2 other Gmail emails and they're now all acting the same way. I cannot reset or work with any of them.

Is this the end of the road? It's a shame if trying to reset my password for Gmail means I can't use Thunderbird at all.

Any other ideas from anyone? I've just made a donation to Thunderbird after finally ditching Outlook. Now I'm stuffed!

more options

Please look at this thread, as the problem is the same, but a different suggestion is being offered there:

 https://support.mozilla.org/en-US/questions/1447519   The person making suggestion is sfhowes, highly respected here and his approach is different. I'll be watching it too. In summary,  he is suggesting to delete and re add the account and to place password where you would normally enter the OAUTH2 authentication setting. I'll be watching it too, as Gmail setup seems to change periodically. I won't leave you until a better answer is done.  https://support.mozilla.org/en-US/questions/1447519
more options

Thanks David. It hasn't solved my problem. Maybe I'm not doing it right but the instructions don't clearly map to the problem or what I'm seeing.

I go to Server Settings the Authentication Methods (this is the only place I can find a reference to OAuth and I change "OAuth2" to "Normal Password" which also triggers Connection Security to go to "SSL/TLS". I tried "Encrypted Password" first but that didn't work.

When I try to connect I get "Login to server imap.gmail.com with username dan@dansomers.com failed." then I get a pop up saying "Application-specific password required" and a google URL.

I do not know what I'm doing or what is going on. I do not have two passwords. I only have one which is the email (account?) password.

If you can be really prescriptive about which buttons and menus I need to press that would be great.

more options

Chosen Solution

Here is what I do and it has worked for me: - delete account - exit thunderbird and restart - check settings>privacy&security to be sure that cookies are accepted - create the gmail account but OMIT the password. Thunderbird has the normal settings if IMAP. - when checking for mail, google prompt should ask for password. after that, a screen will appear with ALLOW button. Check that. - normally, that is all I need.