Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Rest Message Error in HTTP Post Method

Ravi Kand
Tera Contributor

Dear Friends,

 

We are trying to test the connection from ServiceNow DEV instance to End Point below.

End Point: https://xx-xxxx-api/api/qs/oa2/v1/login/

 

I am able to connect from Postman to End Point successfully with Status 200 OK.

Getting the Access Token. But, getting error when connecting from ServiceNow.

 

Method: POST

HTTP Status: 0

Error Code:    0

 

We are getting the below Error:

The request failed: Request not sent to uri= https://xxx-xxxx-api/api/qs/oa2/v1/login/ : org.apache.commons.httpclient.HttpException: No issuer certificate found for xxx-xxxx-api

 

Please provide your suggestions.

 

Thank you..

12 REPLIES 12

Ivan Betev
Mega Sage
Mega Sage

Hi @Ravi Kand ,

 

Something to read about: KB0760274

 

Regards, Ivan

Sumanth16
Kilo Patron

Hi @Ravi Kand ,

 

Please refer to below thread:

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0760274

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda

Ravi Kand
Tera Contributor

Thanks for the response.

I have verified all the sys_properties.list values and everything looks good.

 

Something else is restricting the connection from ServiceNow to End Point. Not sure what it is.

Sohail Khilji
Kilo Patron

Hi @Ravi Kand 

 

Did you load the certification in x509 Certification module ?


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect