I have imported a js resource file to the environment scope, but when trying to include the resource file in js policy, during uploading the proxy I get:
<Error>
<Code>messaging.config.beans.InvalidResourceURLRef</Code>
<Message>Invalid resource url ref jsc://master-logger-1-0-76.js in policy JS-InjectCommonFunctions in zooz</Message>
<Contexts/>
<Cause>
<Code>messaging.config.beans.ResourceDoesNotExist</Code>
<Message>Resource with name master-logger-1-0-76.js and type jsc does not exist</Message>
<Contexts/>
</Cause>
</Error>
even tough I can see the file while using the list endpoint of the managment API (in environment scope)
Note: I am using only mngmnt API to immport and retrieve the file. so UI solutions are irrelevant