Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

illegal access to private script include: caller not in scope

svdv
Tera Contributor

svdv_0-1712154923901.png

Any solution or reason of it?

7 REPLIES 7

Vishwa Pandya19
Mega Sage

Hello,

 

Please check the Restricted Caller Access Privileges Record.

There should be an Execute API record with the source scope, target scope and script include defined and status should be allowed.

 

If my answer helped you in any way please mark it as correct.

 

Hello,

Have checked the table and uploaded the respected attachment to the previous reply. Any other solution or something related to it will be very useful.
Thanks

priyanshraj
Tera Contributor

You can create your script Include in GLOBAL scope and make applies to - All Application scope.

 

Then call it in your reference Qualifier it will start working.