Skip to content
Meta Business PartnerAPI error reference

WhatsApp API errors 2388072, 2388047 and 2388073: template format is incorrect

These three codes are the same rule applied to different parts of a template. 2388072 means the body's formatting is invalid, 2388047 the header's, and 2388073 the footer's.

2388072, 2388047, 2388073
Codes
Message body format is incorrect
Meta's name
Template management
Type
On a set-up call, not a send
Where you see it
After fixing the cause
Retry

Quick answer

Part of the template is formatted in a way WhatsApp doesn't accept. Read the error message for the exact rule, fix that part, and submit again.

What WhatsApp error 2388072 means

Meta documents 2388047 as: your message header contains invalid formatting; 2388072 as: your message body contains invalid formatting; and 2388073 as: your message footer contains invalid formatting. For all three it says to refer to the error message for details on valid formatting.

Why error 2388072 happens

Meta checks a template when you create or change it, and these errors say which rule it broke. The usual reasons:

  • Variables in a header or footer where that component doesn't allow them.
  • Malformed variables, such as {{1 } or {{a}} where numbered or named variables are expected.
  • Line breaks, emoji or formatting characters in parts that don't accept them.
  • Several blank lines or long runs of spaces in the body.
  • Variables numbered out of order or skipping a number.

How to fix error 2388072

Work through these in order; the first one that turns up a problem is usually the fix.

  • Read the message returned with the code: it states which rule was broken.
  • Check each variable is written exactly as {{1}}, {{2}} and so on, or as a valid named parameter.
  • Keep headers and footers to plain text unless the component allows more.
  • Remove stray blank lines and unusual characters.
  • Submit again and check the template's review status.

Should you retry after 2388072?

Resubmit only after correcting the formatting; Meta rejects the same text again.

How error 2388072 shows up in InfiQ

This code belongs to set-up work rather than sending: templates, number registration or onboarding. When InfiQ's API makes that call for you, such as creating a template, the response carries Meta's error object (code 2388072, error_data.details) and an InfiQ_traceid; during registration or onboarding with InfiQ's team, pass the code and details to support.

Send it through InfiQ

Frequently asked questions

Which error code is the header, body or footer?+
2388047 is the header, 2388072 the body and 2388073 the footer. The fix is the same kind each time: make that part's formatting match WhatsApp's rules.
Can I use variables in a template footer?+
Footers are meant to be short, fixed text. If you put variables or rich formatting there and get 2388073, move the dynamic part into the body.
Why is my template body format rejected when it looks fine?+
Look at what you can't see: double spaces, several blank lines, and variable placeholders that are slightly malformed. The error message usually names the rule.