oauth token error "error_description": "access_denied", "error": "server_error"

Vamshi_ch123
Tera Contributor

Hi All,

 

I'm trying to share oauth token to third party users and when i try to generate using postman I'm getting below error 

{
    "error_description": "access_denied",
    "error": "server_error"
}
 
Vamshi_ch123_0-1752057203241.pngVamshi_ch123_1-1752057220102.pngVamshi_ch123_2-1752057248928.png

is it because i don't added headers & no Auth,

Can anyone help addressing this issue

 

Thank you

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@Vamshi_ch123 

check my blog on how to get the OAuth token, it has all the steps

OAuth 2.0 with Inbound REST 

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

Hi Ankur

I configured the OAuth by following the same blog you shared, step by step. However, I’m still getting this error.

Hi Ankur, can you please help here I'm getting below error even if everything was configured correctly in the logs

=Exception on token flow - OAuthProblemException{error='invalid_request', description='Missing grant_type parameter value', uri='null', state='null', scope='null', redirectUri='null', responseStatus=0, parameters={}}: no thrown error

@Vamshi_ch123 

if you followed the blog then via Postman you should be able to get the token.

Did you check that API user is active and not locked out?

in your screenshot don't give that header for redirect

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