cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Calling API using GetJSON throws error

psskps
7-Bedrock

Calling API using GetJSON throws error

Hi,

I am getting the following error when I call the API using GetJSON snippet.

 

JavaException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

But the when I hit the API url separately it returns data.

Need some help in this.

 

Thank you in advance,

Sadagopan PSSKP

1 REPLY 1
VladimirN
24-Ruby II
(To:psskps)

 Hi,

 

Read this article - "Error when trying to access external service over SSL using the PostJSON method available in the ContentLoaderFunctions resource in ThingWorx": https://www.ptc.com/en/support/article/cs282851 

Announcements


Top Tags