Back

Salesforce error log unauthorized endpoint for Realtime data source.

Published: Aug 07, 2023
Post Author Written by Maksudul Haq

Salesforce.com has a requirement for all external websites referenced in custom code to be whitelisted in the system to ensure only approved services receive system information.

Problem

When following the SmartConnect knowledge base for creating a Salesforce Real-time data source for the first-time user may find a Salesforce error log under the Salesforce Setup > Developer > logs.

“Unauthorized endpoint, please check Setup->Security->Remote site settings. Endpoint = https://schedulerna.smartconnect.com

Salesfoce error unauthorized endpoint

Cause

Salesforce remote site setting is missing the SmartConnect API Service URL.

Go to SmartConnect.com, then System > API Settings find the API Service URL.
sc.com API Service url

Solution

  1. Go to Salesforce, then click the Setup gear icon > Open Service Setup.
    SF setup

    2. In the search box, search for Remote site settings.SF Remote site

    3. From the Remote Site Settings page, Click-on the New Remote site button and add the SmartConnect Remote site URL.

    Salesforce Remote site settings

 

Your Salesforce Realtime data source is now ready to run SmartConnect for the first time.

Additional Notes 

  • The remote site settings only need to be configured if using Salesforce Real-time. They are not required for Bulk and Change data sources. 
  • Remember to include the Remote Site setting when creating your Outbound Change Set to migrate the custom trigger into your production Salesforce environment. 

Full Salesforce Realtime data source troubleshooting steps can be found in this help article.

Feeling stuck? Get the support and guidance you need to help you power through any data challenge

We're on your integration team. Connect with our people and let us know how we can help you.