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-29-2025 11:32 PM
why your API user has admin role?
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-29-2025 11:40 PM - edited 07-29-2025 11:44 PM
As at 1st I was getting 401 so I thought to check by proving admin it may work or not.
For the 2nd instance with the same process I am getting the access token. And for that which user I am using is don't have any access but in this mentioned instance I am facing the issue.
Stay awesome,
Roshnee Dash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2025 12:07 AM
did you try giving web service user role?
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 12:16 AM
@Ankur Bawiskar
Yes I had provided web_service_admin
but still facing the issue
Stay awesome,
Roshnee Dash