E15004 — WhatsAppTemplateSlugInvalid
The template slug must contain only lowercase letters, digits, hyphens and underscores, start and end with a letter or digit, and be no more than 63 characters long.
- HTTP status:
422 - Type:
validation_error - Name:
WhatsAppTemplateSlugInvalid
What to do
Rewrite the slug using only lowercase letters, digits, hyphens and underscores, starting and ending with a letter or digit, keeping it to 63 characters or fewer, then create the template again. The slug is permanent. It is the handle you send with.
Related
- E15xxx — WhatsApp sending & delivery: every code in this range
- Errors: the full wire contract, status mapping, and error catalog
- Error handling: branching on
typeandcode, validation details, andvendor_code
Related resources
Continue with the documentation, guides and examples for this topic.