The CreatorCon Call for Content is officially open! Get started here.

Oauth Token is not Generating !! POSTMAN

SandeepKSingh
Kilo Sage

Hi 

I am unable to generate Oauth Token via POST Man..
Below is the SS for the same getting 401 error.

SandeepKSingh_0-1755755841500.png

 

1 ACCEPTED SOLUTION

Ravi Gaurav
Giga Sage
Giga Sage

Hi @SandeepKSingh 

As per you image .. you  have written capital "Password"--> changed it to "password" it will work

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/

View solution in original post

5 REPLIES 5

Ravi Gaurav
Giga Sage
Giga Sage

Hi @SandeepKSingh 

As per you image .. you  have written capital "Password"--> changed it to "password" it will work

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/

thanks @Ravi Gaurav the issue was with capital "P" only. How you know all these ? This is incredible I have spent 1 whole day

Ankur Bawiskar
Tera Patron
Tera Patron

@SandeepKSingh 

I believe you are using admin credentials only.

Is the username password correct?

Is the client id and client secret correct?

Check the above points.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Bhuvan
Mega Patron

@SandeepKSingh 

 

Check and confirm OAuth Application registration is active.

Bhuvan_1-1755756797764.png

Check and confirm integration user is active & not locked out and has required roles. Below is a sample OAuth call,

Bhuvan_3-1755756824144.png

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan