Trouble getting OAuth token in REST Message?

mdjoseph12
Giga Contributor

when accessing token from POSTMAN, the token appears in the response. But it appears servicenow is looking for the parameter 'access_token' (OAuth flow failed. Verify the configurations and try again. Error detail:invalid_request, Missing parameters: access_token). Is it possible to have servicenow look at the parameter 'token' instead of 'access_token'? 

13 REPLIES 13

Prateek kumar
Mega Sage

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Joseph,

So you get the access token and then you must be using that in the header with Bearer <accessTokenReceived> during actual endpoint

can you share screenshot how you are using that?

Regards

Ankur

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

Hi Ankur, 

 

So I configured the OAuth provider and profile in ServiceNow by entering the client information which is how I am retrieving the token 

 

Also here is the specific error that I am receiving: 

 

find_real_file.png