---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/63028#article
headline: "63028: Number of parameters provided does not match the expected number of parameters"
url: https://www.twilio.com/docs/api/errors/63028
inLanguage: en
dateModified: 2026-06-08T11:38:30.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 63028: Number of parameters provided does not match the expected number of parameters

Log Type: TWILIO

Log Level: ERROR

## Description

You received this error because the values you passed in `ContentVariables` do not match the variables defined by the template referenced by `ContentSid`. When you send a templated message, `ContentVariables` must map template variables to substitution values. If you do not send a value for a variable, Twilio can use the template's default placeholder value.

### Possible causes

* The number of values or keys you provided in `ContentVariables` does not align with the placeholder variables defined in the selected template.
* The template referenced by `ContentSid` was changed, but your send request still uses an older set of variables, because send-time variables must match the template definition.
* For WhatsApp templates, variable definitions skip integers or otherwise break WhatsApp variable rules, which can cause the approved template and your send payload to fall out of alignment.

### Possible solutions

* Fetch the template and review its `variables` definition before you send the message. Make sure every placeholder expected by the template has a corresponding substitution value in `ContentVariables`.
* Send `ContentVariables` as a valid JSON string of key-value pairs that map template variable numbers to substitution values.
* If you want Twilio to substitute fallback values, define default placeholder values in the template before you send the message.
* For WhatsApp templates, define variables in sequential order without skipping integers.

#### Additional resources

* [Send templates created with the Content Template Builder](/docs/content/send-templates-created-with-the-content-template-builder)
* [Using Variables with Content Templates](/docs/content/using-variables-with-content-api)
* [Content API Public Endpoints](/docs/content/content-api-resources)
