# E12007 — SMSTemplateVariableMissing

A required template variable is missing from parameters.

- **HTTP status**: `422`
- **Type**: `validation_error`
- **Name**: `SMSTemplateVariableMissing`

## What to do

This template declares required variables that were not in parameters. Fetch the template to see its required variable keys, then add each missing one to parameters and resend.

Operations that resolve this:

- [Get an SMS template](/docs/api/reference/get-sms-template)

## Related

- [E12xxx — SMS sending & delivery](/docs/api/errors/E12xxx): every code in this range
- [Errors](/docs/api/errors): the full wire contract, status mapping, and error catalog
- [Error handling](/docs/guides/errors): branching on `type` and `code`, validation details, and `vendor_code`