I had this problem in Mint, and what I found is that if there is a conflicting Google account signed in on Chrome (in my case) it won't work. I had to log out of that other account, and it began working. So it seems (as mentioned somewhat, above) that it is very dependent on what you are signed in on with your browser.
I run a 2nd Google account out of Chrome for work, and use Brave for my main Google browser -- so each browser uses a different account. Had to switch both to the same that I wanted Gnome to use (although I suspect the only one it really needed to be signed in the same with was Chrome). -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-control-center in Ubuntu. https://bugs.launchpad.net/bugs/1712279 Title: Can't add google account, shows "credentials have expired" Status in gnome-control-center package in Ubuntu: Invalid Bug description: In Artful, when I try to add my google account, it seems to log in fine. When I have gone through all steps and view the online accounts, the dialog says "credentials have expired". ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: gnome-control-center 1:3.24.3-0ubuntu4 ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5 Uname: Linux 4.12.0-11-generic x86_64 ApportVersion: 2.20.6-0ubuntu6 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Tue Aug 22 09:27:59 2017 ExecutablePath: /usr/bin/gnome-control-center InstallationDate: Installed on 2017-07-24 (28 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170723) SourcePackage: gnome-control-center UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1712279/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp