Getting "access_denied" error when try to get access token using rest api messege
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2019 03:42 AM
Hi Friends,
I am trying to get access token using rest api, its working fine in the PostMan but when i use this code in REST Messege I am getting access dined error
Please tell me what i made issue.. since its working fine in PostMan but not working in REST Messege
Request API
Response API :
Working Fine in PostMan
- Labels:
-
Best Practices
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2019 05:49 AM
First thing is, in postman your method is POST and in servicenow you are using GET.
Create a new method of POST and pass all the values as body (content field) not as query parameters. Use authentication tab in your method to add authentication profile and rest everything on the query you have used should go to the content field.
try it and let me know
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2019 07:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2021 05:03 AM
I'm facing the same issue, It works only in POSTMAN. Any solution?