Issue:
Remote Site Settings error when syncing records from Salesforce to NetSuite.
Error:
Unauthorized endpoint, please check Setup->Security- >Remote site
settings.
endpoint = https://rest.eu2.netsuite.com/app/site/hosting
/restlet.nl?script=customscript_celigo_rt_import_rest&
deploy=customdeploy_celigo_rt_import_deploy
Cause:
When NetSuite sets a Database move, the URL being used by the NetSuite account is reverted to a different URL. The new URL is not recognized by Salesforce, therefore producing the error.
Solution:
Add Remote Site in Salesforce.
- From Setup, enter Remote Site Settings in the Quick Find box, then select Remote Site Settings.
- Click New Remote Site.
- Enter a descriptive term for the Remote Site Name. Do not add any spaces or symbols.
- Enter the URL for the remote site. For the following sample, we used https://rest.eu2.netsuite.com.
- Optionally, enter a description of the site.
- Click Save.
Comments
1 comment
But, why does this happen? Blame NetSuite?
Please sign in to leave a comment.