Skip to main content
Error code: TEMPLATE_INVALID Should you try again? No. Sending it again as is fails the same way.

Why it happens

  • The components don’t match the expected structure.
  • WhatsApp rejected the template content.

How to fix it

  1. Read the detail field and fix the component it names, for example components[0].format: must be lowercase.
  2. Check the components against the create template reference. Enum values, such as the component type and format, are lowercase.
  3. Submit the template again.

Technical details

For the error format and how to handle it, see Request errors.