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

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Got 400 error on attempt to setup Gmail account in Thunderbird

  • 2 uphendule
  • 2 zinale nkinga
  • 264 views
  • Igcine ukuphendulwa ngu Đăng Tú

more options

I found a few similar problems on the internet but none of the answers can actually fixed my problems. I can only add 1 Gmail account for personal and the Work account cannot be added due error 400. I also have a custom domain account selfhosting so I don't think it is Thunderbird fault.

1. I have no VPN 2. I use no firewall 3. I use the latest Thunderbird 115 4. I made sure to clear caches 5. I do not accept cookies from anysite 6. I always use Mozilla recommend config for Gmail which is SSL/TLS and OAuth2 7. IMAP is turned on 8. This is the link has 400 error (I got this after enter the correct login email), see [1] 9. I have apache2 server for web deverlopment, and there was an answer in here suggested that it might block Thunderbird from receive Google Token. So I disable the apache2 but still nothing change.


[1]: ​https://accounts.google.com/v3/signin/identifier?app_domain=http://localhost&client_id=406964657835-aq8lmia8j95dhl1a2bvharmfk3t1hgqj.apps.googleusercontent.com&continue=https://accounts.google.com/signin/oauth/legacy/consent?authuser%3Dunknown%26part%3DAJi8hANQbAfnrnTTw2GOEyWYrdFPg9linUmuxuzp9zgE_medSqW1ZjF_F7JbV_1Flty0f_kK2dEJKVyJxZ21XEr6KUAQ5D43pWdBP_YA_nvbp8Nf78unHNZiySbBrnu0WTeJ78Dab4MnLFLO7mmxdLrlBRn8KxT4aj5_RVOiQcjVtwuJD8grCJotQTpTT4MCUsQDfUR1vm1yFjRoKxyI-IupT-AJULoNUlGK_LwCsuZcj_OkZspwbxdrfsR9zPHarx751U_UYYWRErbBKnJT6TWEg4dcpfNPCCz273t8wS5Ge32dvW6BtWfH0f8U2IM9MtxD2yXLn3yh9FfCWJkywfKIanzpu5UW_3Yxx0ufpQYkJQ1w-8uusl8nA54jsSg9LGei2-TA0MO-Y9QIfsC38KdfBPa0w5I45nOoKRtOxa_dp-3T3lKuHV8VV8HCS21gUvjm97Nt02dUlmyN2cET3XG3U5JkHdE9LQ%26as%3DS-770877868%253A1695787974718267%26client_id%3D406964657835-aq8lmia8j95dhl1a2bvharmfk3t1hgqj.apps.googleusercontent.com%26theme%3Dglif%23&dsh=S-770877868:1695787974718267&flowName=GeneralOAuthLite&login_hint=example@gmail.com&o2v=1&opparams=%253F&rart=ANgoxccgnQO7srBR2bWuXHIQXf6fFss9sZPD5DS23s_C72BaJcGSfkKAsalbUJo1lL6Y24IXz1YoVCh5N5AUJZi1XkJvD6OWDg&redirect_uri=http://localhost&response_type=code&scope=https://mail.google.com/+https://www.googleapis.com/auth/carddav+https://www.googleapis.com/auth/calendar&service=lso&theme=glif

I found a few similar problems on the internet but none of the answers can actually fixed my problems. I can only add 1 Gmail account for personal and the Work account cannot be added due error 400. I also have a custom domain account selfhosting so I don't think it is Thunderbird fault. 1. I have no VPN 2. I use no firewall 3. I use the latest Thunderbird 115 4. I made sure to clear caches 5. I do not accept cookies from anysite 6. I always use Mozilla recommend config for Gmail which is SSL/TLS and OAuth2 7. IMAP is turned on 8. This is the link has 400 error (I got this after enter the correct login email), see [1] 9. I have apache2 server for web deverlopment, and there was an answer in here suggested that it might block Thunderbird from receive Google Token. So I disable the apache2 but still nothing change. [1]: ​https://accounts.google.com/v3/signin/identifier?app_domain=http://localhost&client_id=406964657835-aq8lmia8j95dhl1a2bvharmfk3t1hgqj.apps.googleusercontent.com&continue=https://accounts.google.com/signin/oauth/legacy/consent?authuser%3Dunknown%26part%3DAJi8hANQbAfnrnTTw2GOEyWYrdFPg9linUmuxuzp9zgE_medSqW1ZjF_F7JbV_1Flty0f_kK2dEJKVyJxZ21XEr6KUAQ5D43pWdBP_YA_nvbp8Nf78unHNZiySbBrnu0WTeJ78Dab4MnLFLO7mmxdLrlBRn8KxT4aj5_RVOiQcjVtwuJD8grCJotQTpTT4MCUsQDfUR1vm1yFjRoKxyI-IupT-AJULoNUlGK_LwCsuZcj_OkZspwbxdrfsR9zPHarx751U_UYYWRErbBKnJT6TWEg4dcpfNPCCz273t8wS5Ge32dvW6BtWfH0f8U2IM9MtxD2yXLn3yh9FfCWJkywfKIanzpu5UW_3Yxx0ufpQYkJQ1w-8uusl8nA54jsSg9LGei2-TA0MO-Y9QIfsC38KdfBPa0w5I45nOoKRtOxa_dp-3T3lKuHV8VV8HCS21gUvjm97Nt02dUlmyN2cET3XG3U5JkHdE9LQ%26as%3DS-770877868%253A1695787974718267%26client_id%3D406964657835-aq8lmia8j95dhl1a2bvharmfk3t1hgqj.apps.googleusercontent.com%26theme%3Dglif%23&dsh=S-770877868:1695787974718267&flowName=GeneralOAuthLite&login_hint=example@gmail.com&o2v=1&opparams=%253F&rart=ANgoxccgnQO7srBR2bWuXHIQXf6fFss9sZPD5DS23s_C72BaJcGSfkKAsalbUJo1lL6Y24IXz1YoVCh5N5AUJZi1XkJvD6OWDg&redirect_uri=http://localhost&response_type=code&scope=https://mail.google.com/+https://www.googleapis.com/auth/carddav+https://www.googleapis.com/auth/calendar&service=lso&theme=glif

Isisombululo esikhethiwe

5. I do not accept cookies from anysite

That is a problem. You should allow cookies, including third-party cookies.

Funda le mpendulo ngokuhambisana nalesi sihloko 👍 4

All Replies (2)

more options

Isisombululo Esikhethiwe

5. I do not accept cookies from anysite

That is a problem. You should allow cookies, including third-party cookies.

more options

Stans said

5. I do not accept cookies from anysite

That is a problem. You should allow cookies, including third-party cookies.

Thank you very much, you cure my headache of many days.