---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/11310#article
headline: "11310: Invalid template token"
url: https://www.twilio.com/docs/api/errors/11310
inLanguage: en
dateModified: 2026-06-09T11:00:42.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 11310: Invalid template token

Log Level: ERROR

## Description

Twilio returns this error when your URL template references a token that is not available for the webhook or callback you configured. The set of available parameters depends on the specific request type that Twilio sends.

### Possible causes

* Your URL template includes a placeholder for a parameter that Twilio does not send for this webhook or callback.
* The token name in the template does not match a valid parameter name for the request, such as `CallSid` for a Voice `StatusCallback` request or `MessageSid` for an incoming Messaging webhook request.
* You reused a template from another product, channel, or event type. Webhook parameters vary by channel and event type, so tokens that are valid for one webhook may not be available for another.

### Possible solutions

* Review the parameter list for the specific webhook or callback you configured, then update the template to use only parameter names that Twilio sends for that request.
* Replace or remove any unsupported placeholder in the template. For Voice `StatusCallback` requests, use documented parameters such as `CallSid`, `AccountSid`, `From`, and `To` when they fit your use case.
* Send a mock or test webhook request to your application and inspect the payload before you save the template. Twilio recommends using sample webhook requests, tools such as `curl` or Postman, or a request capture service during development.

#### Additional resources

* [Getting Started with Twilio Webhooks](/docs/usage/webhooks/getting-started-twilio-webhooks)
* [Call resource](/docs/voice/api/call-resource)
* [Twilio's request to your incoming message Webhook URL](/docs/messaging/guides/webhook-request)
