Issue
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}"
Solution
Take the following steps to troubleshoot this issue:
- Confirm that the username and password are correct by using them to log into Salesforce.
- Check to make sure the Marketo IPs are on the Salesforce general whitelist.
- Check the Marketo sync user's profile in Salesforce and make sure the "Login IPs" include the IPs 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 |
Who This Solution Applies To
Customers integrated with Salesforce using IP restrictions