Contacts has trouble syncing with the Google account. What to do? I have Contacts (Version 8.0 (1365)) running under Mac OS X 10.9.1. I have it connected with my Google account. But it keeps showing that it is busy syncing. Changes made on other devices don't come through. (Other devices do sync with each other.) How can I solve this?

NB: After some time the "wheel" disappears, but still the new contact isn't there...
From your error message:

Contacts: CoreData: error: exception during obtainPermanentIDsForObjects: Fetching maximum primary key failed with userInfo of { NSSQLiteErrorDomain = 11; }


I am guessing that the SQLite DB of your Contacts.app is corrupted.

I would recommend taking the following steps:


Export a backup archive of your contacts (if they are not all on Google)


You can do this by going to File &gt; Export... &gt; Contacts Archive
Quit Contacts.app

Delete the offending SQLite Database


From the Finder, select Go &gt; Go To Folder from the menu.
Type in ~/Library/Application Support/AddressBook/
Select all those files: Edit &gt; Select All
Put them in a folder: File &gt; New Folder With Selection
Move the folder to the Trash. (In case something goes wrong, we can restore everything)

Launch Contacts.app and re-create your Google account
Re-import your contacts archive (again, only if they are not all on google's servers.  Otherwise, just let it re-sync.) 


Let me know if this works for you!