All Products
Search
Document Center

Enterprise Distributed Application Service:Error code: HSF-0022

Last Updated:Mar 11, 2026

An HSF grouping rule failed validation. Check that the rule has a non-empty group name, a non-empty service name list with valid regular expressions, and a non-empty IP address rule list.

Error message

[Grouping Rule] xxx error message.

The error message starts with the [Grouping Rule] prefix, followed by details about which part of the grouping rule configuration is invalid. Match the details against the validation conditions in the following section to identify the root cause.

Cause

HSF validates the following conditions when a grouping rule is applied. If any condition is not met, HSF-0022 is returned.

ConditionDescription
Group name is specifiedThe grouping rule must include a non-empty group name.
Service name list is specifiedThe grouping rule must include at least one service name entry.
IP address rule list is specifiedThe grouping rule must include at least one IP address rule entry.
Regular expressions are validAll regular expressions in the service name list must use valid syntax.

Solution

Check the grouping rule configuration and fix any condition that is not met:

  1. Verify the group name. Confirm that the group name is set and not empty.

  2. Verify the service name list. Confirm that at least one service name is specified. If the list uses regular expressions, validate each expression for correct syntax.

  3. Verify the IP address rule list. Confirm that at least one IP address rule is defined.

  4. Validate regular expressions. If the service name list contains regular expressions, test each expression independently to make sure it compiles without errors. Common issues include:

    IssueExample
    Unescaped special characters. , * , + used as literals without a \ prefix
    Unmatched grouping symbolsMissing closing ) or ]
    Invalid quantifiers{3,1} where the minimum exceeds the maximum