question in Servicenow Ebonding integration

Srini19
Tera Contributor

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

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

@Srini19 

you should give Authorization URL and Token URL as per this image

Please update yours

AnkurBawiskar_0-1764825918066.png

 

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! šŸ™

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

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

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]

****************************************************************************************************************

Hi Atul,

 

Status  shows as offline, tried with other browser and same issue. will wait for some time then.

 

Thanks

Srini