Access to api 'put(x_762329_safety_dxhr_onboarding_case.subject_person_hr_profile)' from scope 'sn_hr_core' has been refused due to the api's cross-scope access policy

Zhiyuan
Kilo Contributor

I'm exhausted searching answer from google. but still did not get it resolved.

Please confirm the screenshot.

find_real_file.png

find_real_file.png

1 ACCEPTED SOLUTION

michaelj_sherid
ServiceNow Employee
ServiceNow Employee

@Zhiyuan This is most likely due to the Application Restricted Caller Access records are stopping the read/execution. You will need to "Allow" the Restricted Caller Access record(s) that is impacting the user. If you are unfamiliar with RCA records, you can find an Ask the Expert session here that details how this works.

Regards,

Mike

View solution in original post

6 REPLIES 6

Mrman
Tera Guru

Hi,

Please elaborate what are you trying to do .

michaelj_sherid
ServiceNow Employee
ServiceNow Employee

@Zhiyuan This is most likely due to the Application Restricted Caller Access records are stopping the read/execution. You will need to "Allow" the Restricted Caller Access record(s) that is impacting the user. If you are unfamiliar with RCA records, you can find an Ask the Expert session here that details how this works.

Regards,

Mike

@michaelj.sheridan  Michaelj 

Thanks for your help.

I changed the corresponding record to "Allow" , and issue resolved.

But, everytime I changed a related widget source(My Safety scoped app) and saved, then when I test my new code,

I need to change "requested" to "Allow" again, that's really frustrating. Any method I can avoid to redo this again and again ?

@Zhiyuan Each time the object is modified it will invalidate the RCA record. This is by design so it can stop execution if something changes. 

Regards,

Mike