SFDC Sync Error - Salesforce setCredential failed with code: {LOGIN_DURING_RESTRICTED_DOMAIN}

A document by KCS Integration on behalf of ae12e993d860a7e9570dcb0d68d6850a4e0f02c8 on Oct 17, 2017Last modified by Vishal Sharma on Jun 26, 2018
Version 3Show Document
  • View in full screen mode

Issue Description
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}"

 

Issue Resolution

Take the following steps to troubleshoot this issue:

  1. Confirm that the username and password are correct by using them to log into Salesforce.
  2. Check to make sure the Marketo IPs are on the Salesforce general whitelist.
  3. Check the Marketo sync user's profile in Salesforce and make sure the "Login IPs" include the IPs for your Marketo instance.

permissions.png

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

Is this article helpful ?

YesNo


 

Who This Solution Applies To

Customers integrated with Salesforce using IP restrictions

Attachments

    Outcomes