WhatsApp error 2388072: Message body format is incorrect
Last verified against Meta for Developers - Cloud API error codes
Your message body contains invalid formatting.What error 2388072 means
Code 2388072 is raised when the BODY component of a template you are creating or editing breaks a formatting rule. The body is the one required component of every template, carries most of the text (up to 1,024 characters), and accepts multiple parameters, so it is where most formatting mistakes land.
The detailed message returned alongside the code tells you which rule failed. Meta's template review guide lists the parameter formatting mistakes that cause rejections: missing or mismatched curly braces (the positional form is {{1}}), special characters such as #, $, or % inside a variable, and positional variables that are not sequential. Named parameters must be lowercase letters and underscores inside double braces, and examples must be provided for every variable.
Related but separate: too many variables for the length is 2388293, and a variable at the very start or end is 2388299.
What it looks like
{
"type": "BODY",
"text": "Hi {{1}}, your {{3}} is ready for pickup at {{Store-Name}}."
}
(non-sequential positional variables and a hyphenated, capitalized named parameter break the documented body rules)Why it happens
- Single braces or unbalanced braces such as
{1}}left by a templating engine. - Positional variables numbered out of order, for example
{{1}},{{3}}. - Named parameters with capitals, hyphens, or spaces.
- Variables without matching example values in the submission.
How to fix WhatsApp error 2388072
- 1Read the detailed error message for the specific rule.
- 2Normalize all variables to
{{1}},{{2}}... in order, or to lowercase named parameters. - 3Supply one example value per variable in the
exampleobject. - 4Resubmit and confirm the template enters review.
How to stop it recurring
Generate body placeholders programmatically from a list of variables rather than typing them, so numbering and braces are always valid. Pre-check bodies with the template checker, and see the template rejection guide for the content rules that apply after formatting passes.
Official reference: Meta for Developers - Cloud API error codes. See all WhatsApp error codes or the WhatsApp limits and quotas.
Related codes
- 2388293: Parameters words ratio exceeds limitThis template has too many variables for its length. Reduce the number of…
- 2388299: Leading or trailing parameters not allowedVariables cannot be at the start or end of the template.
- 2388047: Message header format is incorrectYour message header contains invalid formatting.
- 132000: Template Param Count MismatchThe number of variable parameter values included in the request did not match…
Error 2388072 - quick answers
What does WhatsApp error 2388072 mean?
Code 2388072 is raised when the BODY component of a template you are creating or editing breaks a formatting rule. The body is the one required component of every template, carries most of the text (up to 1,024 characters), and accepts multiple parameters, so it is where most formatting mistakes land. The detailed message returned alongside the code tells you which rule failed.
How do I fix WhatsApp error 2388072?
1. Read the detailed error message for the specific rule. 2. Normalize all variables to {{1}} , {{2}} ... in order, or to lowercase named parameters. 3. Supply one example value per variable in the example object. 4. Resubmit and confirm the template enters review.
Stop debugging WhatsApp by hand
Connect the channel through Conferbot: tokens, webhooks and retries are handled, failures show as readable status.