Application Registries Issue to generate access token

Roshnee Dash
Tera Guru

Hi,

I have created a application registry  'Create an OAuth API endpoint for external clients'.

RoshneeDash_0-1753856518045.png

Here the webservice user has admin and snc_internal role. For this user 

RoshneeDash_1-1753856586432.png

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?

Your feedback makes the community stronger! If you found this helpful, marking it as the correct answer helps others.
Stay awesome,
Roshnee Dash
14 REPLIES 14

@Roshnee Dash 

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

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

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.

Your feedback makes the community stronger! If you found this helpful, marking it as the correct answer helps others.
Stay awesome,
Roshnee Dash

@Ankur Bawiskar 
Do I need to check with any plugin or any system properties.

Or is it related to yokohama patch issue.

Your feedback makes the community stronger! If you found this helpful, marking it as the correct answer helps others.
Stay awesome,
Roshnee Dash

@Roshnee Dash 

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.

 

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

Yes @Ankur Bawiskar its correct only by providing admin access i tried to login the instance and its working

Your feedback makes the community stronger! If you found this helpful, marking it as the correct answer helps others.
Stay awesome,
Roshnee Dash