Google is not allowing to use Contacts API anymore. Here is the following error:
The operation failed with an error. Contacts API is being deprecated. Migrate to People API to retain programmatic access to Google Contacts. See https://developers.google.com/people/contacts-api-migration.