Getting 401 unauthorized on Token generation URL

Priya12007
Giga Contributor

I am trying to connect to ServiceNow using API with OAuth. For this when I have created a new Application Registry as below

Priya12007_0-1690197828512.png

But on using the above I am getting 401 unauthorized. Please let me know what I am doing wrong. PFB 

Priya12007_1-1690197952610.png

 



5 REPLIES 5

Priya12007
Giga Contributor

FYI - I have already done elevate role to "security_admin"

Priya12007
Giga Contributor
 FYI:- I have already done elevate role to "security_admin"
 

Mohan raj
Mega Sage

Hi @Priya12007,

 

The 401 (Unauthorized) status code indicates that the request has not been applied because it lacks valid authentication credentials for the target resource.

 

Check password and try again

I have checked and updated password multiple times for the OAuth Registry but no help. Getting the same error.