Application Registries Issue to generate access token
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2025 11:25 PM
Hi,
I have created a application registry 'Create an OAuth API endpoint for external clients'.
Here the webservice user has admin and snc_internal role. For this user
when I am trying to generate the access token for this instance from postman I am receiving 401 error.
I checked with the client_id, client_secret and user password. I am sending correct value only.
But still receiving 401 issue.
Can anyone please help me with this issue? Either I am missing any step or what is the mistake on this?
Stay awesome,
Roshnee Dash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 12:21 AM
401 means you are using incorrect credentials of the API user of the target instance.
Please try to reset the API user password and use the new password
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 12:46 AM
Yes I have reset the password also and saved a simple password. Even I checked with client_id and client_secret so many times.
Still no luck.
Stay awesome,
Roshnee Dash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 02:46 AM
@Ankur Bawiskar
Do I need to check with any plugin or any system properties.
Or is it related to yokohama patch issue.
Stay awesome,
Roshnee Dash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 02:50 AM
did you check credentials of that user?
those seems to be incorrect as it's 401.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 03:19 AM
Yes @Ankur Bawiskar its correct only by providing admin access i tried to login the instance and its working
Stay awesome,
Roshnee Dash