---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/21261#article
headline: "21261: Maximum number of conditions per rule reached"
url: https://www.twilio.com/docs/api/errors/21261
inLanguage: en
dateModified: 2026-03-11T18:38:39.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 21261: Maximum number of conditions per rule reached

Log Type: APPLICATION

Log Level: ERROR

## Description

This rule already has the maximum number of conditions allowed.

### Possible causes

The number of conditions in a given rule cannot exceed the limit. See https://www.twilio.com/docs/sip-trunking/sip-header-manipulation

### Possible solutions

Optimize your rule by removing unused conditions.
