05-02-21 05:10 PM
Hi Team,
I tried following heh same steps for "ServiceNow Incident Management " Skill available in Digital Exchange but it's giving me 401 authentication error.
Error message : "HTTP Response Content: {"error":{"message":"User Not Authenticated","detail":"Required to provide Auth information"},"status":"failure"}"
I already setup credentials which I am using for my ServiceNow instance.
Can you help me on this?
Thanks and Regards,
Archit
Answered! Go to Answer.
05-02-21 05:25 PM
05-02-21 05:11 PM
Couple of follow up questions:
1. What version of ServiceNow are you running?
2. Is your ServiceNow ID (creds) API enabled?
For reference here a few links
Which the last appeared you asked the same question on here in a new thread.
05-02-21 05:12 PM
Hi Zachary,
It was a password issue. I learned it hard way. It's now up and running.
I have one more query if you can help me on this.
I need to send file along with body parameters in one of my POST API call. Not sure if I can use the same skill to accomplish this.
Can you please help me on this ?
05-02-21 05:14 PM
I'm more familiar with the ServiceNow API than Blue Prism's skills that are built (most of our VBO's are manually built to ensure we have scale.) With that being said, it appears you cannot do that within the same skill. Below is a good example of the attachment API and how you need to separate the two functions. So, with BP's skill, you would need to use the particular request Eg. INC and then use the POST endpoint to then send over the file.
https://developer.servicenow.com/dev.do#!/reference/api/orlando/rest/c_AttachmentAPI#r_AttachmentAPI-POST ;
Overall, I'm able scale so I would make separate variables and call upon those upon need. Creating the individual objects with your creds also listed out as another variable so when someone leaves or you have a problem with a Service Account password that expires even though it's not supposed too, you can migrate on the fly based upon your error Eg 401 you had. Just loop the variables to the next having a backup ID made. Within the WebAPI object, make sure to put those variables and also list out your functions as $ for the collection. Much luck has been had scaling with these features built out.
Let me know if that helps on the topic.
05-02-21 05:25 PM