Remote Site Settings error when syncing records from Salesforce to NetSuite.
Unauthorized endpoint, please check Setup->Security- >Remote site
endpoint = https://rest.eu2.netsuite.com/app/site/hosting
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.
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.