Error 131063: marketing disabled on the Cloud API
Error 131063 appears when the account blocked marketing templates on the Cloud API. See the disable_marketing_messages_on_cloud_api setting and two fixes.
131063 is a configuration error, and rarely a template one. Nothing is wrong with the text, the language or the approval: the account was configured not to accept marketing templates through the regular send endpoint. Whoever hits the error without knowing this tends to spend hours reviewing the template when the fix is a single field on the account.
What 131063 means
Short answer: 131063 means a marketing-category template was sent through the Cloud API on an account where the disable_marketing_messages_on_cloud_api field is turned on. Meta's error message is "Marketing templates disabled for Cloud API".
Meta's error codes table gives two ways out: send the marketing through the Marketing Messages API, or set the field to false. The choice depends on what the account wants. Whoever turned the field on deliberately, to route all marketing to the specific API, should change the send endpoint. Whoever turned it on by accident, or inherited the setting, should undo it.
The setting that causes the error
Short answer: disable_marketing_messages_on_cloud_api is a field of the WhatsApp Business account. When it is true, the /messages endpoint rejects marketing templates; the default is false.
Meta's documentation shows how to read and how to change it. Reading is a query to the account ID asking for the field, and changing is a POST to the same ID with the new value. Meta itself notes that only accounts that completed onboarding to the marketing messages API are affected by this setting.
# Read the current value (WABA_ID is the WhatsApp Business account ID)
curl "https://graph.facebook.com/v26.0/WABA_ID?fields=disable_marketing_messages_on_cloud_api" \
-H "Authorization: Bearer ACCESS_TOKEN"
# Undo the block: marketing goes through /messages again
curl "https://graph.facebook.com/v26.0/WABA_ID" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ACCESS_TOKEN" \
-d '{"disable_marketing_messages_on_cloud_api": false}'The token needs access to the account. In the CRPRO Hub model, the Meta account belongs to the client, so whoever changes this field is whoever administers the account. Agree with the client first: if the setting was deliberate, undoing it changes where marketing gets sent.
Way out 1: send through the Marketing Messages API
Short answer: the specific endpoint is POST /<PHONE_NUMBER_ID>/marketing_messages. It accepts only marketing templates; free-form, service, utility or authentication messages return an error.
- Prerequisite: the account must have completed onboarding to the marketing messages API, and have at least one registered number and one approved marketing template.
- After creating or reactivating a template, Meta suggests waiting about 10 minutes before sending.
- The token needs the whatsapp_business_messaging permission.
- To measure conversions, Meta asks for a Meta Pixel or Conversions API integration.
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "5521999999999",
"type": "template",
"template": { "name": "weekly_offer", "language": { "code": "en_US" } },
"product_policy": "STRICT"
}The product_policy field is optional; with STRICT, Meta does not fall back automatically to the Cloud API if the onboarding requirements are not met. The page also cites message_activity_sharing, equally optional. Both are marketing API features the regular Cloud API does not have. The full contract details are in Meta's documentation; this article does not replace them.
Way out 2: turn the block off
Short answer: set disable_marketing_messages_on_cloud_api to false and marketing templates go through the /messages endpoint again, the same one the Hub uses for regular sends.
It is the simplest way out for whoever integrates through CRPRO Hub and sends via /api/v1/channels/{id}/messages: the Hub forwards the template through the standard Cloud API path, and the account must accept it. The quickstart shows the request body. If the client's account really must keep the block, sending marketing through that route will not work while it is active, and you need to handle the category in your own system.
A confusing case: unsigned terms
Short answer: 131063 can also appear on the marketing endpoint when the account has not signed the terms of the marketing messages API, because the automatic fallback to the Cloud API is blocked.
It is the inverse of the common case. Here you already use /marketing_messages, but the account has not completed the terms acceptance. Since the fallback to the Cloud API is blocked by the setting, the send fails with the same code. Meta points to product_policy STRICT to avoid the fallback attempt, but the underlying cause is still the pending onboarding. The way out is to complete the terms acceptance on the account, not to insist on the send.
How to diagnose in order
Short answer: confirm the template is marketing, read the account field and only then choose the way out. Changing the template does not help.
- Check the approved category of the template in the channel's template listing. Only marketing-category templates cause 131063.
- Read disable_marketing_messages_on_cloud_api on the account. If it is true, you found the cause.
- Decide with the client: move marketing to the specific API or turn the block off.
- If the account uses the marketing endpoint, check that terms acceptance and onboarding were completed.
Remember that Meta can reclassify a utility template as marketing if the content is promotional, and from then on it falls under the block. If a utility template that always worked starts returning 131063, check the current category. The error arrives as 502 META_SEND_FAILED with details.meta_code 131063, or after the 202 on the status event; the webhooks page shows where.
What changes in your monitoring
Short answer: 131063 is a deterministic error. If one marketing send gets it, all the other marketing sends from the same account will too, until the setting changes.
That allows better handling than retrying: on the first 131063 from an account, pause that channel's marketing queue, notify the owner and resume only after the fix. Continuing to send in a loop just creates a pile of identical failures and spends the limit of 60 sends per minute per channel. Sends of other categories, such as utility and authentication, and replies inside the service window are not affected by the setting and can continue normally.
Deciding with the client
Short answer: bring the client two questions, and the answers pick the way out. Was the setting made on purpose? Has the account completed onboarding to the marketing messages API?
- If it was on purpose and onboarding is complete: move marketing sends to /marketing_messages and keep the block.
- If it was by accident, or there is no plan to use the marketing API: set the field to false.
- If onboarding was not completed: do not turn the block on, because it would leave marketing with no path at all.
Record the decision and the date on the client's file. When the error reappears months later, whoever investigates will know whether the block was a choice or an accident.
Frequently asked questions
Does 131063 affect utility templates?
Not directly: the block is for the marketing category. But Meta can reclassify a utility template as marketing, and from then on it suffers the block.
What is the default value of the setting?
The default is false, meaning the Cloud API accepts marketing templates. The error only occurs if someone turned the field on.
Can I send a utility message through the marketing endpoint?
No. The /marketing_messages endpoint accepts only marketing templates; other types return an error. Use /messages for them.
Who can change the setting?
Whoever holds a token with access to the WhatsApp Business account. In the CRPRO Hub model the account belongs to the client, so agree with them before changing it.
Fontes
Documentação oficial da Meta, conferida em 31 de outubro de 2026.