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

Yes through postman also i am getting error. url not found or some thing like that.




For POST method can u give me the standard jira API path?



Is SSL certificate also needed to request for https:// api link ??



Thanks



Agatha


Hello neeraj,



This time i am getting this error.





Bug.png


After connecting with mid server i was able to perform get records . But i am getting error on post i.e; creation of record . It shows error 400.


Method failed is the issue.



baseurl/rest/api/2/issue is my endpoint . Can anyone suggest. What is the issue? pradeepksharma


This Error is because of Invalid credentials, please check the username and password you have given.


Thank you


username and password is correct.