Exception occurred while executing operation Cloud REST Query. Custom operation Failed to run script due to the following error: JAVASCRIPT_CODE_FAILURE: com.snc.sw.exception.CommandFailureException: Failed to execute cloud request. Reason: SSLHandsh

RamSagar
Tera Guru

Hi,

Am trying to do the cloud discovery, but not sure why am getting the below error.

=============

Exception occurred while executing operation Cloud REST Query. Custom operation Failed to run script due to the following error: JAVASCRIPT_CODE_FAILURE: com.snc.sw.exception.CommandFailureException: Failed to execute cloud request. Reason: SSLHandshakeException:sun.security.validator.ValidatorException: PKIX path building failed: java.security.cert.CertPathBuilderException: Unable to find certificate chain. (script_include:AzureApiCommand; line 111). Custom operation Failed to run script due to the following error: JAVASCRIPT_CODE_FAILURE: com.snc.sw.exception.CommandFailureException: Failed to execute cloud request. Reason: SSLHandshakeException:sun.security.validator.ValidatorException: PKIX path building failed: java.security.cert.CertPathBuilderException: Unable to find certificate chain. (script_include:AzureApiCommand; line 111)
=======================

Could you please help and provide any suggestion on this.
5 REPLIES 5

SiD2
ServiceNow Employee
ServiceNow Employee

Hi @RamSagar,

This is definitely some permission issues with credentials or service account privileges, but i'm not aware in detail.

Please refer the below KB for the complete guidance w.r.t cloud discovery.

https://hi.service-now.com/kb_view.do?sysparm_article=KB0859915

 

Please mark the appropriate responses as Correct/Helpful so that this thread gets closed and helps others with the same question in the future.

Please mark Helpful / Accept Solution so that it helps others with similar questions.

Ashutosh Munot1
Kilo Patron
Kilo Patron

Replied on your other thread.

rajat11
Tera Contributor

Hello ashutosh ,Could you please share that thread link .

subbu76
Tera Contributor

Hello, i am running into a similar issues like this. did this problem gets fixed? can one of you share the fix for this?

 

subbu76_0-1675053671349.png

thanks,

 

Subbu