# E15007 — WhatsAppTemplateLanguageInvalid

The language is not one of WhatsApp's supported language tags.

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

## What to do

Give the language as a BCP-47 tag from WhatsApp's list of supported languages (for example `en` or `pt-BR`). A well-formed tag is not always one of them — WhatsApp registers `pt-BR` and `pt-PT` but no bare `pt`, and `zh-CN`, `zh-HK` and `zh-TW` but no bare `zh` — so when a base tag is refused, send the regional one. Other languages do register their base, `en` and `es` among them. For Norwegian, send `nb` rather than `no`, which WhatsApp does not register. When the request carries several languages, no two of them may resolve to the same tag.

## Related

- [E15xxx — WhatsApp sending & delivery](/docs/api/errors/E15xxx): 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`

## Related resources

- [Should I use a Bird SDK or call the API directly?](/explained/platform/should-i-use-an-sdk-or-call-the-api-directly) (answer)
- [Build your first integration](/learn/paths/integration) (course)
- [Send your first email](/docs/get-started/send-your-first-email) (docs)

[Get an implementation brief](/learn/workspace?topic=api-basics)
