While Testing GET api url from post man, with No Auth, Still getting error

shashanksha
Tera Contributor

While Testing GET api url from post man, with No Auth, Still getting error .

error": {
        "message": "User Not Authenticated",
        "detail": "Required to provide Auth information"
    },
    "status": "failure"
 
shashanksha_1-1742292032331.png

 


 

10 REPLIES 10

@shashanksha 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hello @shashanksha 

 

You can use Rest Message. In the Headers you can pass your API Key. The format to pass API Key should be in the documentation of the third party you are integrating with. 

 

The Basic Auth or Oauth here will only play the role to help you access it. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway,

 

Regards,

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwN

eEISQCY

shashanksha
Tera Contributor

@Ankur Bawiskar actually earlier we uses basic but now they asking for API key.

Hello @shashanksha 

 

It seems your original question was already answered. 

 

Could you please mark the answer as Solution and Helpful and close this thread. This will help move this query from unsolved to solved bucket. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway,

 

Regards,

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

@shashanksha 

is ServiceNow consuming the external API or 3rd party is consuming ServiceNow endpoint?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader