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.
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.