Getting the Error "No credential found for types [SSH Password,SSH Private Key] with credential tag [TEST

krishna26
Kilo Expert

Hello Everyone,

We are going to work on a ServiceNow integration where we are supposed to connect to a Linux Server & Execute a command. For this, i have created a vey basic, sample custom WF activity , connecting a particular hostname.

Upon Execution i am getting the below error

{
"output": null,
"errorMessages": "No credential found for types [SSH Password,SSH Private Key] with credential tag [TEST_SSH_AMAVAR_SNOW]\n",
"debugMessages": "{\"debug_info\":[{\"10.220.995.632\":{\"credentials_attempted\":[],\"connection_parameters\":{\"credential_types\":[\"SSH Password\",\"SSH Private Key\"],\"required_tag\":\"TEST_SSH_AMAVAR_SNOW\",\"target\":\"10.220.995.632\"}}}]}",
"eccSysId": "6e74860a1b1018142fdb8444cc4bcb4f",
"tags": null
}

Can anyone kindly inform what is the cause of happening of the issue ... 

1 ACCEPTED SOLUTION

Hi Tim,

Tried all the things but no luck hence raised a Hi-Ticket.

Response from Hi-Support team is if the instance is NewYork version then if we have outh2.0 credentials in the Credentials table then we will get the errors 

SEVERE *** ERROR *** An error occurred while decrypting credentials from instance
com.snc.automation_common.integration.exceptions.AutomationIOException: Unable to retrieve data from instance. This MID may not be validated.

This is fixed in Orland it seems.

Inactivated the outh 2.0 credentials we have & checked then it worked perfectly fine

Thanks for your suggestions & help


View solution in original post

23 REPLIES 23

Oh, nice.

That would have taken quite a while to find the hard way.

Thanks for the update, Krishna.
    - Tim.

Seriously. This was hard to find.

Thanks,
Ashutosh

Yeah, Had i not raised a Hi-Ticket i would have never found that this was defect in Servicenow's Newyork version & they fixed in Orlando I would be struggling here & there.. 

NR
ServiceNow Employee
  • Connect to HI Portal and locate KB0748823
  • More details related to the issue and solution can be seen in this knowledge article.