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
Ressources associées
Poursuivez avec la documentation, les guides et les exemples sur ce sujet. Les ressources sont en anglais.
Comprendre le conceptShould I use a Bird SDK or call the API directly?Suivre le parcours d'apprentissageBuild your first integrationGuide d'implémentationSend your first email
Obtenir un guide d'implémentation