question in Servicenow Ebonding integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi Friends,
I am trying to do Ebonding integration Snow to Snow with the Oauth2.0 type Authorization code. But when I click the Get OAuth Token in Rest Message I am getting below error. Here attached the Application registry which I have configured. Please let me know what is wrong in this, do I need to specify OAuth scopes, if yes then what I have to specifiy. kinldy let me know.
Error message:
HTTP Error 401 - Unauthorized
Thanks
Srini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
you should give Authorization URL and Token URL as per this image
Please update yours
check these links
Two way to configure OAuth 2.0 -Outbound Rest integration in Action Designer
Authorize access to an OAuth endpoint using auth code flow
Authorization code flow example: ServiceNow instance as authorization server
š” If my response helped, please mark it as correct ā and close the thread šā this helps future readers find the solution faster! š
Ankur
⨠Certified Technical Architect || ⨠9x ServiceNow MVP || ⨠ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Ankur,
Will try and let you know. In btw, I cant access my PDI and getting 502 bad gateway error, do you know why? will it get resolved automatically?
Thanks
Srini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
HI @Srini19
Go to the developer site and check its status. If it appears offline, then it SN side issue; esle it might be a browser issue. Try accessing it using a different browser.
PDI doesnāt come with support, so you need to wait or try hitting āRetryā.ā
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Atul,
Status shows as offline, tried with other browser and same issue. will wait for some time then.
Thanks
Srini