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
Verwandte Ressourcen
Weiter mit der Dokumentation, Anleitungen und Beispielen zu diesem Thema. Die Ressourcen sind auf Englisch.
Das Konzept verstehenShould I use a Bird SDK or call the API directly?Dem Lernpfad folgenBuild your first integrationImplementierungsleitfadenSend your first email
Implementierungs-Briefing erhalten