- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2024 04:40 AM
Hi team, I've created a scripted REST API in the Human Resource Core application, where I'm accessing the table sn_hr_er_case. When I try to execute the API from Postman, I get the following error: com.glide.script.fencing.access.ScopeAccessNotGrantedException: read access to sn_hr_er_case not granted.
I've tried solving this by creating a record in Cross-Scope Privilege, but the issue persists.
Can someone please help me with this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2024 05:10 AM
@krishnagopal_sn It should not give an error. Please create the scripted rest API in Human Resources: Employee Relations scope.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2024 04:48 AM - edited ‎02-21-2024 04:48 AM
@krishnagopal_sn please can you try creating the scripted Rest API in Human Resources: Employee Relations scope?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2024 04:57 AM
Hi @Mrman
Unfortunately i can't, reason being there is another part in the same script where we are gliding sn_hr_core_case which is under HR: Core so it will give error for hr core then
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2024 05:10 AM
@krishnagopal_sn It should not give an error. Please create the scripted rest API in Human Resources: Employee Relations scope.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2024 06:23 AM
Thank you! Its working