Rule error, validation error, problem saving config, setup error, unable to save config, rule set up.
There are many possible causes why you are getting a rule error when saving or validating Gateway configuration. In this article, we summarize some of the common error messages seen.
Error Message 1 - The rule ‘Rule – <rule name>’ contains syntax errors in the code block.
Error Message 2 - Absolute/Relative secondary variables should not contains wildcards - only the first data-item returned will be used. To remove this warning, use the 'first' function in conjunction with a wpath to get the first matching item.
Error Message 3 - 'schemas' : Unmatched child node. Perhaps the nodes are in the wrong order, or the node is invalid at this location.
Error Message 4 - Ignored target for rule '<rule name>' as xpath contains non-identifying predicate.
Error Message 5 - Ignored rule '<rule name>’: pathAlias '<path alias name>' does not exist.
Error Message 6 - Rule ‘<rule name> references non-existent ActiveTime ‘<active time name>’, removing the ActiveTime.
Solution Error Message 1 - Common syntax errors are caused by misspell, unexpected token, or missing operand.
The syntax of If...then...elseif...else statement is as below:
if value > replaceWithValue then
elseif value > replaceWithValue then
Useful tool: When configuring a rule, you can right click anywhere on the rule code block, select Templates > If...then...elseif...else to obtain the rule template.
Solution Error Message 2 - please click here for details.
Solution Error Message 3 - please click here for details.
Solution Error Message 4 - please click here for details.
Solution Error Message 5 - Make sure the path alias referenced in the rule block is present.
Solution Error Message 6 - Make sure the active time referenced in the Advanced tab of the rule is present.
- Gateway, Rules, Actions & Alerts
- How do I fix "WARNING Absolute/Relative secondary variables should not contains wildcards - only the first data-item returned will be used..." when saving Gateway configuration
- 'schemas' : Unmatched child node. Perhaps the nodes are in the wrong order, or the node is invalid at this location?
- What does the warning message "Ignored target for rule '<rule name>' as xpath contains non-identifying predicate" mean?
If Issue Persists
- Please contact with our Client Services team via the chat service box available in any of our websites or via email to email@example.com
- Make sure you provide to us:
- Gateway configuration in xml of the changes you trying to make.
- Error message you are getting when trying to save the new configuration.
- Gateway Diagnostic file.
- Any troubleshooting steps already verified from the ones described in this article.