Getting 401 unauthorized on Token generation URL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 04:26 AM - edited 07-24-2023 04:38 AM
I am trying to connect to ServiceNow using API with OAuth. For this when I have created a new Application Registry as below
But on using the above I am getting 401 unauthorized. Please let me know what I am doing wrong. PFB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 04:30 AM
FYI - I have already done elevate role to "security_admin"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 04:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 04:32 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 04:33 AM
I have checked and updated password multiple times for the OAuth Registry but no help. Getting the same error.