Error when Testing Script call from API

Hi All,

I am logging into the application server URL with viadmin user.

When I try to test script QER_GetWebBaseURL I am getting the below message.

I have assigned "Allow the starting of arbitrary scripts" (Common_StartScript)  to permission group CCCEditPermissions and this permission group is assigned to viadmin.

Can you please tell me what is missing, also I checked the link below

 https://support.oneidentity.com/de-de/technical-documents/identity-manager/8.1.3/rest-api-reference-guide/14#TOPIC-1481422

{
  "responseStatus": {
    "message": "You are not authorized to run this method."
  },
  "errorString": "You are not authorized to run this method.",
  "exceptions": [
    {
      "number": 810323,
      "message": "You are not authorized to run this method."
    }
  ]
}

Thank You.

Kind Regards,

Dnyandev

Parents Reply
  • The thing is, that you need to assign a program function to every script you want to call, and this program function needs to be available for your credentials in addition to the requirement to have the Common_StartScript program function assigned to your permission group.

    No comes the thing, you cannot assign the out-of-the-box program function Common_StartScript to an out-of-the-box script. S, to being able to execute the script QER_GetWebBaseURL you need to create custom program function and assign this to the script and to your permission group.

Children