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

Sharique Azim
Mega Sage

can you try using "basic" instead of "BASIC"

 

also please be sure the  user and the password exists in 3rd party tool.

Ankur Bawiskar
Tera Patron
Tera Patron

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

Sharad S
Kilo Guru

Hi, No luck with token base authentication, asked third-party team to provide encoded authentication details and now, its progressed further.