getting an error when doing oauth based authentication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago - last edited 6 hours ago
Hi all
getting below error of 'User Not Authorized' and 'Missing required API access scope: test' when doing OAuth based authentication. the bearer token used is correct because when i use an incorrect one, i get a different error.
below is the oauth setting in servicenow
Thanks
Ravish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hi @Ravish Shetty ,
Navigate to the Authentication Scope table and create the following scopes:
- table_read
- table_read_write
refer: Restrict access available to OAuth Client using REST API Auth Scopes
Limit the access granted to an OAuth client by using REST API authentication scopes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Have you remembered to set baerer in the header?
Have you ensured to provide correct user access?
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/
