You need to sign in to do that
Don't have an account?
AruAru
Hoovers Endpoint URL
Hi,
I am trying to invoke Hoovers API from Salesforce. I am getting the following exception. When i am trying to invoke the api from the VF page.
Exception:
System.CalloutException: Unauthorized endpoint, please check Setup->Security->Remote site settings. endpoint = http://hapi.hoovers.com/HooversAPI-32 |
I added the site in salesforce to the remote site, However it is saved in the below format.
I got the url from the Hoovers documents. http://developer.hoovers.com/docs34 Is it the issue with Hoovers Endpoint url or Salesforce not able to recognize the url. Please suggest, Thanks, Sunil |
Hi,
Also try adding
https://hapi-dev.hoovers.com in your Remote site settings (note that it is : https ). If even after this you are facing any error, then maybe we will need to go through the Documentation again.
Let me know if this helps.
Hi Vishal,
I added the URL to the remote sites. However it didn't server the purpose. i am getting the same error.
This is sure the issue with the end point url, This is in the logs. Any other solution to get this work?
HI,
I had a mismatch in the end point url which i fix. It seems to be ok now. However my request is not being processed.
This is the below error i am getting in the logs. It says invalid content type.
Error:
Full dubg stack trace. Please suggest