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: every code in this range
- Errors: the full wire contract, status mapping, and error catalog
- Error handling: branching on type and code, validation details, and vendor_code
Related resources
Continue with the documentation, guides and examples for this topic. Resources are in English.
Understand the conceptShould I use a Bird SDK or call the API directly?Follow the learning pathBuild your first integrationImplementation guideSend your first email
Get an implementation brief