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

Hi Joseph,

Can you share screenshot how you are sending the access token in the header? from which tool you are testing?

Regards

Ankur

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

Hi Ankur,

I get the below error message when I click get Oauth token. How can I pass the parameter?

find_real_file.png

find_real_file.png

Thanks,

 

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Joseph,

Any update on this?
Can you mark my answer as correct, helpful if you were able to achieve the requirement. This helps in removing this question from unanswered list and helps users to learn from your thread. Thanks in advance.

Regards
Ankur

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

Amrit Sharma2
Tera Expert

Hi All,

 

Were you able to find a solution to this error 'Missing parameters: access_token'. I am facing the same issue for integration while clicking on 'GetOuthToken' related link.

Can you post a new question for this and I can have a look tomorrow.

Do tag me in that question.

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