Issue with REST authentication -method failed with code 401- invalid username/password combo.

Sharad S
Kilo Guru

Hi Team,

I am facing issue with REST base authentication. In this case, i don't have to use basic authentication but its kind of SSO cookie token (generated separately which is getting without any issue) and pass it through REST header. While test its giving method failed with code 401- invalid username/password combo.

Please find attached screenshot for reference.

 

Thanks. 

 

 

 

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Sharad,

So you are trying to consume ServiceNow API from 3rd party right?

Regards

Ankur

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

Hi Ankur,

Here Catman (3rd party ) API getting consume from ServiceNow- Outbound call.

 

Thanks.

Hi Sharad,

Did you check by trying from some other tool i.e. postman and try to consume.

Check username and password is proper.

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Hi Sharad,

Any update on this?
Can you mark my answer as correct, helpful if you were able to achieve the requirement. This helps in removing this question from unanswered list and helps users to learn from your thread. Thanks in advance.

Regards
Ankur

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