Getting Http Status 0 when triggering REST Message to Get OAuth Access Token
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2022 10:21 AM
Hi ,
I create a Rest Message in ServiceNow to call a 3rd party endpoint to request access token .
I have included the client id, client secret , grant type as client credentials , and audience in the Body and tested in Postman . I am able to get the response and getting access token.
But the same configuration when I do in service now using REST message , I am getitng Http Status as 0 and Error code as 1.
Error message as :Request not sent to uri=
Please suggest .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2022 04:17 AM
Hi,
not very sure on this error
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
‎05-06-2022 04:19 AM
I have checked the Outbound HTTP logs also.
Method failed: (/oauth/token) with code: 401 - Invalid username/password combo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2022 04:52 AM
Very difficult to debug as we don't have instance access etc
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader