Skip to contentSkip to navigationSkip to topbar
Page toolsOn this pageProducts used
Looking for more inspiration?Visit the

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


ERROR: 63028

error-63028 page anchor
MESSAGING
ERROR

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

possible-causes page anchor
  • 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.
  • 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

additional-resources page anchor