---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/14201#article
headline: "14201: Enqueue: Invalid method value"
url: https://www.twilio.com/docs/api/errors/14201
inLanguage: en
dateModified: 2026-06-08T11:38:30.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 14201: Enqueue: Invalid method value

Log Level: ERROR

## Description

This error occurs when Twilio receives an `<Enqueue>` verb with a `method` attribute that is not `GET` or `POST`. The `method` attribute controls the HTTP method Twilio uses for the `action` URL, and `POST` is the default.

### Possible causes

* The `<Enqueue>` verb sets `method` to a value other than `GET` or `POST`.
* Your application may be generating `<Enqueue>` TwiML dynamically and inserting an unsupported value into `method`, because Twilio validates the `method` attribute against the allowed values `GET` and `POST`.
* You intended to control how Twilio requests the `waitUrl`, but `<Enqueue>` uses `waitUrlMethod` for `waitUrl` requests and `method` for the `action` URL.

### Possible solutions

* Set the `<Enqueue>` `method` attribute to `GET` or `POST`.
* Remove the `method` attribute if you do not need to override it. Twilio uses `POST` by default for the `action` URL.
* If you need to control the request method for the hold music or queue instructions endpoint, set `waitUrlMethod` instead of `method`.

#### Additional resources

* [TwiML `<Enqueue>`](/docs/voice/twiml/enqueue)
* [Queue Calls](/docs/voice/queue-calls)
* [TwiML for Programmable Voice](/docs/voice/twiml)
