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

# 32701: Voice User-Defined Message: Invalid Content-Type

Log Type: APPLICATION

Log Level: WARNING

## Description

Invalid `Content-Type` in the `POST` request to the UserDefinedMessage Resource. Only `application/json` is supported.

### Possible causes

* Value of `Content-Type` in the `POST` request to the UserDefinedMessage Resource is not as expected, or there is no `Content-Type` header in the request.

### Possible solutions

* Make sure that `Content-Type` Header is included in the `POST` request to the UserDefinedMessage Resource and the value of the `Content-Type` Header is `application/json`.
