We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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