Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Cross Scope Issue

krishnagopal_sn
Tera Contributor

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.

krishnagopal_sn_0-1708519169396.png

 

Can someone please help me with this?

1 ACCEPTED SOLUTION

@krishnagopal_sn It should not give an error. Please create the scripted rest API in Human Resources: Employee Relations scope.

View solution in original post

4 REPLIES 4

Mrman
Tera Guru

@krishnagopal_sn  please can you try creating the scripted Rest API in Human Resources: Employee Relations scope?

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

@krishnagopal_sn It should not give an error. Please create the scripted rest API in Human Resources: Employee Relations scope.

Thank you! Its working