[ERROR]: Source descriptor is empty while recording access for table sn_hr_core_case: no thrown error. Security restricted: Read operation on table 'sn_hr_core_case' from scope 'Global' was denied because the source could not be found.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2021 02:51 AM
Hello,
I try to run a script in the scripts background, but I face the following error:
Source descriptor is empty while recording access for table sn_hr_core_case: no thrown error
Security restricted: Read operation on table 'sn_hr_core_case' from scope 'Global' was denied because the source could not be found. Please contact the application admin.
The table looks like this:
I have create the following record but the issue still occurs.
Any ideas?????
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2021 03:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2021 03:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2021 04:55 AM
Hi,
I have the same issue. Did above described steps. Added on Application Cross Scope four allowed status access to sn_HR_Core_Case table access. read, write, delete and create.
Plus ive approved all requests on Restricted Caller Access Privileges page/list. Still having the issue. Any suggestion what it can be?
error is: Security restricted: Read operation on table 'sn_hr_core_case' from scope 'Global' was denied. The application 'Global' must declare a cross scope access privilege. Please contact the application admin to update their access requests.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2023 01:52 AM - edited ‎08-04-2023 01:53 AM
Hi,
The sn_hr_core_case table has Restricted Caller Access enabled to protect access to its data across scopes. That feature checks access from a source script to the table, but it wasn't able to find a valid source ("...denied because the source could not be found").
Scripts - Background isn't considered a valid source for Restricted Caller Access/RCA, so this error will appear when trying to query the table directly from another scope there. If you query the table from Scripts - Background with the scope set to sn_hr_core instead of Global, it should allow the query.
Alternatively, you can move your script into a Script Include and then call that Script Include from Scripts - Background. You will then need to go grant access to the generated RCA record for that Script Include