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.

ServiceNow OAuth 401 Error in Script Include (Working Fine in REST Outbound Message)

mdshahvez11
Tera Contributor

I have integrated ServiceNow with a ticketing system, and I am successfully able to fetch tickets and related data through the REST Outbound setup.
However, I now want to automate the process by using a Script Include.

When I hit the Script Include, I receive the following error:

*** Script: API Response Status Code: 401 *** Script: Failed to fetch data. HTTP Status

 

0 REPLIES 0