Syntax Errors in PACLI for invalid parameter values - parse error, expecting `';''
91
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 13:02 PM
Symptom
PACLI throws a syntax error about an invalid parameter, such as - parse error, expecting `';''
Environment
10.5;10.10;11.5;11.6;11.7;12.0;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Cyber-Ark API/SDK
Cause
Parameter values containing character strings that are also parameter names (for example: Address) will not be accepted by PACLI
Resolution
As a best practice, wrap each parameter value with double quotes (for example Category="Address").
Additional Information
Details
SYMPTOM:
PACLI throws a syntax error about an invalid parameter, such as - parse error, expecting `';''
PROBLEM:
Parameter values containing character strings that are also parameter names (for example: Address) will not be accepted by PACLI
SOLUTION:
As a best practice, wrap each parameter value with double quotes (for example Category="Address").