When attempting to install a policy using the Web VPM, the installation fails with multiple "Unknown tag" errors. These errors typically appear after a successful policy installation via the legacy Java VPM.
Example errors:
Error: Unknown tag: 'Labs'
vpm-cpl:930: condition=__CondList1Store Labs
Error: Unknown tag: 'Market_Custom'
vpm-cpl:1130: condition=__CondList1Tops Market_Custom source
Symptoms:
Edge SWG
This is caused by a discrepancy in how the Web VPM CPL generator handles object names. Unlike the Java VPM, certain versions of the Web VPM parser fail to wrap object names containing spaces in double quotes when generating the underlying CPL code.
Based on the example errors above, when the compiler encounters a line like condition=__CondList1Store Labs, it reads Store as the intended object but interprets the word Labs as a new CPL command tag. Since Labs is not a valid CPL keyword, the installation fails.
To resolve this issue, object names must be modified by removing spaces.
1. Rename Objects: Locate the affected Condition Lists or Source/Destination objects in the VPM.
2. Remove Spaces: Rename the objects to use underscores, instead of spaces.
Example: Rename Store Labs to Store_Labs.
Example: Rename Tops Market_Custom source to Tops_Market_Custom_source.
3. Update Rules: Update any rules associated with the affected Condition Lists
4. Re-install: Click Install Policy via the Web VPM.