Unable to use Rest Message (globales scope) from a different scope via script

Meloper
Kilo Sage

do any of you know how I can check whether a cross scope privilege prevents me from using a rest message from the global scope via script in a scope?
there is no denied record in sys_scope_privilege table

5 REPLIES 5

Sandeep Rajput
Tera Patron
Tera Patron

@Meloper You can check this from Application Restricted Caller Access Module. Filter out records with "Allowed" state then you will be able to see the records which are in Invalidated or Requested state. You can set relevant records to Allowed.

 

Screenshot 2024-09-30 at 5.51.43 PM.pngScreenshot 2024-09-30 at 5.51.57 PM.png

Hi, thanks for your answer.
Unfortunately there is no suitable entry left.
Can I enter this entry myself?
After I have written “scope.Rest Message” in the script when calling the Rest Message.
Is the error message now: Illegal access to private object SCOPENAME: caller not in scope Global:   

@Meloper Yes, you can create a new entry if it doesn't exist. 

I found the Problem, a Rest Message has the field "accessible from" with value only this scope