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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2019 10:50 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2019 12:23 AM
Hi Sharad,
So you are trying to consume ServiceNow API from 3rd party right?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2019 12:54 AM
Hi Ankur,
Here Catman (3rd party ) API getting consume from ServiceNow- Outbound call.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2019 03:03 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-12-2019 12:11 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader