---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/53120#article
headline: "53120:  Invalid Recording Rule(s)"
url: https://www.twilio.com/docs/api/errors/53120
inLanguage: en
dateModified: 2026-03-11T20:43:38.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 53120:  Invalid Recording Rule(s)

Log Type: APPLICATION

Log Level: ERROR

## Description

Raised by the server when a Recording 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 audio or video.
* A maximum of 20 recording rules are allowed per room.

### 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 recording rules to 20 or fewer.
