Error message: Invalid object passed in, ':' or '}' expected. (158) when running the AppLocker script
112
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:04 PM
Symptom
Error message: Invalid object passed in, ':' or '}' expected. (158) when running the AppLocker script after downloading and importing the SAPGUI connection component from the marketplace.
Environment
12.1;12.2;12.6;13.0;13.2;13.1;14.0;14.2 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Privileged Session Management (PSM) PSM
Cause
Issue is due to the formatting in the JSON file which is contained in the connection component downloaded.
Resolution
- Delete the connection component from PVWA
- Re-import the attached connection component in your environment