OAuth2.0 and REST API - missing access token

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2019 04:33 AM
Hi there,
My colleagues and I have been working on a little project on our downtime - we're attempting to integrate the Reddit REST API with ServiceNow so we can put posts from the ServiceNow subreddit in a table. This is mainly to provide us with some practice in using REST APIs and getting to grips with the integration of them within ServiceNow.
We've set up the Outbound Integration and created an OAuth Provider using our client credentials provided by Reddit. We've even tested authenticating with Postman and had no issues.
However, when we try to 'Get OAuth Token' it fails - saying the access token is missing.
We're not sure where we're going wrong so if anyone can provide any insight that would be wonderful.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2019 04:01 AM
Hi Michaela,
So what is the difference in the API request in Postman and ServiceNow i.e. difference in terms of parameter values
Can you share screenshot from postman? are you able to get access token properly in Postman?
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2019 04:43 AM