Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

Can't connect Gmail to Macmail (Sonoma 14.2.1 on M3 MacBook Pro)

I have two Gmail accounts that appear to have identical configurations. One is added with no problems to Macmail but the other keeps failing. Both accounts work fine in a browser and on iOS phones. Have tried each alone without the other account.


Mail >

Accounts >>

Add account...>>

Google >> (Google requires authentication in web browser) >>

Open Browser >> (This opens Safari and Sign in with Google) >>


I sign in with no issues on either account. But one Gmail account goes directly to populating the email. The other comes back with a "Continue to sign in request" in Safari, where clicking to continue or cancel brings a 400 error.


I have examined both Google mail accounts and cannot find any consequential difference between them.


Thank you for any advice you can provide!

15 replies

The issue appears to be Safari's "advanced tracking and fingerprinting protection". Go to Safari's Settings -> Advanced and uncheck "Use advanced tracking and fingerprinting protection".



After this I was able to re-authenticate my Google account without the 400 Bad Request error. Once the account is reconnected, you can enable the option again.

I have an Intel MAC book pro running Ventura 13.6.4.


Same problem I updated by google password and could not log into gmail, no such problem on IOS. Got the 400 error, device retired. This worked for me


1) I changed my default browser to chrome.


2) Went to "Internet Accounts" under system settings


3) Select add account "Google"


4) Validate on Google App on iPhone for two step validation


Google seems to see Safari as an unsupported device for account validation.


This worked, and is ridiculous. Try to keep account secure and change password and you are faced with this problem.


Change back to safari after as default browser after you fixed this






I had the same issue. I have multiple gmail accounts but one of them stopped syncing with my apple mail on my iMac and MacBook. Was OK on my IOS devices. Spoke with Apple support and was fixed in a few minutes. This is their fix.

Hi *********, further to our call please see the following information that could be of help to you. Safari Settings>Privacy and uncheck ‘Prevent cross-site tracking and Hide IP address from tracker. System Settings>Desktop and Dock and set the default browser to Google Chrome. Put Safari settings back and made safari the default browser again.



Rather than changing security settings for Safari - you're much better off temporarily changing your default browser to Chrome. Connect your gmail to Mac. Then change your default browser back to Safari.


Firefox has the same issue as Safari.

Try making Chrome your default browser and see if that works.

Yes make chrome your default browser, then with back to Safari if you want.

More information: I have also tried authentication with a passkey, a password with 2-factor iOS device, a passkey via iOS device, all delivering the same result of seemingly logging in correctly but then the "Continue to sign in" request and finally a 400 error.

bosmacs, this solution enabled me to add two different gmail accounts to two different Apple computers that previously gave the 400 error. Thanks a lot for posting this! How did you ever figure this out?

Help! I have the same issue, since Dec 2013. But, the solution that appears to have worked for everyone in the above posts, has one problem...There is no, "Settings -Advanced," on my MAC, or on my Safari browser. Where do I go to find the elusive box to uncheck, "Used advanced tracking and fingerprinting protection?"


drjzimm, sounds like maybe you have an older version of Mac OS. Also if you have had this problem since 2013, I'm guessing it is caused by something else and unchecking the "Use advanced tracking and fingerprinting protection" box wouldn't solve your problem anyway. Maybe you could start a new thread with more details about your exact problem.

jabartram, Sorry, I meant to say that I've had this problem since Dec. 2023. Also, you are correct. This MAC desktop is a late 2012 model, and Apple stopped offering an OS upgrade since High Sierra v10.13. Maybe, because of this, there is no solution apart from a major hardware upgrade!

drjzimm. That may be true, unfortunately. It's probably unrelated, but several friends have decided to upgrade their Mac computers because they could no longer view the Wordpress based web page for our organization in Safari. In one case this was avoided for a while by using Firefox or Chrome instead of Safari.

About two years ago, I upgraded to a MacBook Air M1. The difference in performance compared to my older Intel MacBook Pro was astounding! So if you do get a new Mac with an Apple processor, I think you will be pleased with the improvements.

looking back over the thread, this appears to be an issue for a lot of folks. But the solution in this thread is for more up-to-date operating systems. The setting you ask about, is in the latest version of MoacOS

I am experiencing this too. Are you by chance also trying to log in to a "non-gmail" branded account (e.g. business or education)?

It is a regular Gmail account. I have two such regular accounts and only one of them is having this issue.