WhatsApp Cloud API · error code

WhatsApp error 134100: Only marketing messages supported

ConfigurationHTTP 400Templates & Flows

Last verified against Meta for Developers - Cloud API error codes

What WhatsApp returns
You're only able to send marketing messages on this API.

What error 134100 means

Code 134100 is a Marketing Messages API for WhatsApp error, and Meta's reference marks it as available from Graph API version 23.0. It is returned with HTTP 400 when you send a utility or authentication template through the marketing endpoint. Only templates categorized as MARKETING are supported there.

It overlaps with 131055, which Meta also lists for non-template messages and non-marketing templates on the same endpoint. Treat both as the same instruction: the marketing endpoint is for marketing templates only, and every other category goes through Cloud API's /messages. Which of the two codes you see depends on what you sent and the API version you call, so handle both.

The template itself may be approved and perfectly valid. It is simply on the wrong endpoint for its category.

What it looks like

{
  "error": {
    "message": "(#134100) Only marketing messages supported",
    "type": "OAuthException",
    "code": 134100,
    "error_data": {
      "messaging_product": "whatsapp",
      "details": "You're only able to send marketing messages on this API."
    },
    "fbtrace_id": "AmR4tYu8IoP2qLs"
  }
}

Why it happens

  • An authentication (OTP) template sent through /marketing_messages.
  • A utility template such as a shipping update routed with marketing traffic.
  • Sending code that picks the marketing endpoint from the campaign type in your own system rather than the template's category.

How to fix WhatsApp error 134100

  1. 1Fetch the template's category with the template management endpoint.
  2. 2If it is UTILITY or AUTHENTICATION, send it with POST /<PHONE_NUMBER_ID>/messages.
  3. 3If you truly need it on the marketing endpoint, create a MARKETING template for that content and get it approved.
  4. 4Map both 131055 and 134100 to the same routing fix in your error handler.

How to stop it recurring

Decide the endpoint from the template's category at send time, never from the campaign type in your own system. Upgrading your Graph API version can change which of the two codes appears, so include both in tests when you bump versions.

Official reference: Meta for Developers - Cloud API error codes. See all WhatsApp error codes or the WhatsApp limits and quotas.

Related codes

Error 134100 - quick answers

What does WhatsApp error 134100 mean?

Code 134100 is a Marketing Messages API for WhatsApp error, and Meta's reference marks it as available from Graph API version 23.0. It is returned with HTTP 400 when you send a utility or authentication template through the marketing endpoint. Only templates categorized as MARKETING are supported there.

How do I fix WhatsApp error 134100?

1. Fetch the template's category with the template management endpoint. 2. If it is UTILITY or AUTHENTICATION, send it with POST /<PHONE_NUMBER_ID>/messages . 3. If you truly need it on the marketing endpoint, create a MARKETING template for that content and get it approved. 4. Map both 131055 and 134100 to the same routing fix in your error handler.

Stop debugging WhatsApp by hand

Connect the channel through Conferbot: tokens, webhooks and retries are handled, failures show as readable status.