SFDC Sync Error - Salesforce setCredential failiure
You receive a notification that the Marketo/SFDC sync has failed due to " Invalid username, password, security token; or user locked out." On the Salesforce side, you see the error Salesforce setCredential failed with code: {LOGIN_DURING_RESTRICTED_DOMAIN} and message: {cannot log in from current domain}.
Description description
Environment
Marketo Engage
Resolution resolution
Take the following steps to troubleshoot this issue:
- Confirm that the username and password are correct by using them to log into Salesforce.
- Verify that the Marketo IPs are included on the Salesforce general whitelist.
- Verify the Marketo sync user’s profile in Salesforce and ensure the “Login IPs” field includes the IP addresses for your Marketo instance.
The complete list of IP ranges is:
- 199.15.212.0/23
- 199.15.214.0/23
- 192.28.144.0/23
- 192.28.146.0/23
- 192.28.148.0/23
- 192.28.150.0/23
- 192.28.152.0/21
- 192.28.160.0/19
- 185.28.196.0/22
- 103.237.104.0/23
- 103.237.106.0/23
Note: This Solution Applies To the Customers integrated with Salesforce using IP restrictions.
recommendation-more-help
experience-cloud-kcs-help-kbarticles