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“
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.
Solution
- Go to Salesforce, then click the Setup gear icon > Open Service Setup.
2. In the search box, search for Remote site settings.
3. From the Remote Site Settings page, Click-on the New Remote site button and add the SmartConnect Remote site URL.
Your Salesforce Real-time 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.