# E12006 — SMSTemplateLanguageInvalid

The requested template language is not a valid language tag.

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

## What to do

Provide the language as a valid BCP-47 tag (for example 'en' or 'pt-BR'). Fetch the template to see which languages it offers, then 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`