Oauth2.o

shajisherin
Giga Contributor
  • IMG-20261118-WA0157.jpg

This error is coming while impersonating a normal user. I used Oauth 2.o and table api works perfectly in system admin login

3 REPLIES 3

Tarun Rekandar
Mega Guru

Hi @shajisherin,

I also faced the exact same error while implementing API integration, you need to check weather the API is working properly in the postman or not, if the API is working properly in postman then it will work properly in any integration.

Accept the solution if it assisted you with your question & Mark this response as Helpful.


Regards,

Tarun

Tanushree Maiti
Tera Patron

Hi @shajisherin 

 

1)Ensure the normal user has the snc_platform_rest_api_access  / rest_service role 

2) (if your integration is working for Admin , its not required, still if 1st troubleshooting fails , you can check it.) Refer  KB: KB3038071 Inbound OAuth client credentials grant returns 401 Unauthorized on the ServiceNow instance 

 

Ankur Bawiskar
Tera Patron

@shajisherin 

what's the config you did and what's working? share screenshots