---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/32111#article
headline: "32111: SIP: Invalid header name"
url: https://www.twilio.com/docs/api/errors/32111
inLanguage: en
dateModified: 2026-03-11T20:01:16.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 32111: SIP: Invalid header name

Log Type: APPLICATION

Log Level: WARNING

## Description

The header you asked Twilio to stamp was omitted because it contains illegal characters in its *name*. Including this header would have resulted in Twilio generating a message that runs contrary to the SIP specification.

The set of legal characters for a header name is defined in [RFC 3261](https://tools.ietf.org/html/rfc3261).

### Possible causes

* If you specified headers in a SIP URI, invalid characters were most likely introduced by an escaped character. Escaped characters in SIP URIs are defined by a percent sign (%) followed by two hexadecimal digits specifying a character code.

### Possible solutions

* Ensure that your SIP URI is formed correctly. Header names should generally only consist of alphanumeric characters and hyphens.
