Loading

Lightning Sync for Google Error 'We can't connect with Google Contacts'

Date de publication: Apr 7, 2023
Description
After setting up Google's G Suite to sync with Salesforce, users/org admins can also run the Lightning Sync connection test to ensure successful connectivity between Google and Salesforce using the steps here.

If the connection test fails with the following errors, try the resolution steps below:

We can’t connect with Google Calendar™. 
We can’t connect with Google Contacts. 
Résolution
Please Note: Lightning Sync is not available for new customers as of Winter ’21.
https://help.salesforce.com/s/articleView?id=000353407&type=1

The Lightning Sync connection test checks several points of connectivity between Salesforce and Google G Suite. The most common area that could cause issues is OAuth 2.0 Scopes for Google APIs. Either required scopes are missing or configured incorrectly causing connectivity issues with Salesforce.

The following steps help resolve scope-related connection issues:

1. Log in to Google Admin Console
2. On the Admin console Home page, go to Access and data control then API controls.
3. Under Domain Wide Delegation, click Manage Domain Wide Delegation.
4. Review the respective Client Ids (Client Name) scopes and ensure that the following scopes are configured:

For Contacts:

https://www.google.com/m8/feeds/
https://www.googleapis.com/auth/contacts.readonly


For Calendar:

https://www.googleapis.com/auth/calendar​

Also, if the Google Calendar and Contacts APIs are disabled on G Suite then that could also cause connectivity issues. Please review the following documentation to ensure configuration both on Google G Suite and Salesforce is done correctly: Prepare Your G Suite Account for Lightning Sync.



 
Numéro d’article de la base de connaissances

000383893

 
Chargement
Salesforce Help | Article