Salesforce | System.Callout Exception: Unauthorized End Point

Author - Webner

I tried to send REST request to my server on click of a custom button in Salesforce. It shows me “unauthorized end point exception”.

Solution : To resolve this issue we need to add the server address as a remote site in Salesforce. Here are the steps to add remote site.

1.  Go to Setup->Security Controls:

0212

2.  Go to Security Controls->Remote Site Setting:

0312

Here create new remote site setting for server address then it will work fine.

Webner Solutions is a Software Development company focused on developing Insurance Agency Management Systems, Learning Management Systems and Salesforce apps. Contact us at dev@webners.com for your Insurance, eLearning and Salesforce applications.

Leave a Reply

Your email address will not be published. Required fields are marked *