function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rao NemaniRao Nemani 

System.CalloutException: IO Exception: Unauthorized endpoint

HI All

 

i am calling the web service in the sales force , but i am getting the following error.

System.CalloutException: IO Exception: Unauthorized endpoint

 

added the URL of the web service to Remote Sites --> Setup -> Security Controls -> Remote Site Settings

 

Still i am getting the same erro. Please help me out.....

 

Thanks,

Rao

forecast_is_cloudyforecast_is_cloudy

That error is definately related to Remote Site Settings. Add a debug statement to check the exact URL that you're calling out to and then make sure that URL is setup as an active URL in the Remote Site Settings