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

# 13241: Dial->SIP: Invalid method value

Log Level: WARNING

## Description

You receive this warning when the `method` attribute on `<Dial><Sip>` is set to a value other than `GET` or `POST`. On `<Sip>`, the `method` attribute controls which HTTP method Twilio uses when requesting the TwiML URL specified by the `url` attribute. If you omit `method`, Twilio uses `POST` by default.

### Possible causes

* Your `<Sip>` noun includes `method` with a value other than `GET` or `POST`.
* Your application sets a `url` on `<Sip>` and passes an unsupported HTTP method for the request to that URL.
* Your TwiML is generated dynamically, and the code that builds `<Dial><Sip>` is sending an invalid `method` value instead of using a supported value or the default `POST`.

### Possible solutions

* Update the `<Sip>` noun to use `method="GET"` or `method="POST"`.
* If you do not need to override the HTTP method, remove the `method` attribute and let Twilio use the default `POST`.
* Review the code or template that generates your TwiML and confirm the `url` and `method` values on `<Sip>` are valid before you return the response.

#### Additional resources

* [TwiML Voice: `<Sip>`](/docs/voice/twiml/sip)
* [TwiML Voice: `<Dial>`](/docs/voice/twiml/dial)
* [Making SIP Calls](/docs/voice/api/sip-making-calls)
