0

I have a 3rd Party Endpoint Url Which I Paste in browser Address bar I can see the XML Data.

But the same Endpoint URL , I invoke via Apex Class (Http Call) I will get a Error Message From the System saying I don't have the Permission to access the Data.

There is No Error in Apex Class.

I checked with 3rd Party Developers..they are saying they have blocked certain IP of Amazon's Server. That might cause the Issue..

What is the Solution..

0

At one point of time, I had a similar issue of HTTP/HTTPs while using within the Salesforce environment and it was painful at some point of time.

From my experience and what @erkan has mentioned, I can suggest to try this:

  1. White listing the IP address if a third party URL is a static one.
  2. Hard code the URL with https if its used anywhere and try.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.