# 53215: Invalid Subscribe Rule(s)

Log Type: APPLICATION

Log Level: ERROR

## Description

Raised by the server when a Subscribe Rule is invalid.

### Possible causes

* An empty set of rules `[]` is not allowed
* A rule containing `all` must have a value of `true` and must not contain any other expression.
* A rule must contain a `type` field.
* If `kind` is used, it must be one of `audio`, `video` or `data`.
* A maximum of 20 rules are allowed per subscriber.

### Possible solutions

* Ensure the set of rules has at least one rule.
* If you include `all` in a rule, the only other allowed field is `type`.
* Ensure every rule has a `type` field.
* Ensure `kind` is one of the valid enum values.
* Limit the number of rules to 20 or fewer.
