Getting " UNKNOWN HOST " issue in REST Script

agathaarlo
Giga Contributor

Hi All,

I am writing a REST script to integrate servicenow with jira but the provided api link is treated as wrong and i am getting Unknown host. Can anyone suggest is the api address is wrong or it is some other bug . Any solution will be thankful .

Pradeep Sharma's Blog Know Your Expert | Pradeep Sharma Developer Community SSL Certificate Management Within Service Now @

Thanks and Regards

Agatha

15 REPLIES 15

Neeraj Sharma10
Tera Guru

Hi Agatha,



Could you please share the screenshot of the error ?



Thanks


Neeraj


Script_Error.PNG


Dear neeraj,



i later applied the same code in Background script and got same issue.


I think there can be a problem with the endpoint you are using!


did you tested the endpoint from Postman?
what response you got?