# WhatsApp Error 131047: The 24-Hour Window Explained and Fixed

> WhatsApp Cloud API error 131047 means 24 hours have passed since the customer last messaged you. Here is why it happens and how a template message fixes it.

Source: https://zavii.app/blog/whatsapp-error-131047-24-hour-window/
Published: 2026-11-17

**WhatsApp error 131047 means you tried to send a normal (free-form) message to someone who has not messaged your business number in the last 24 hours.** Meta's WhatsApp Cloud API only lets you send free-form text, images or files while the customer's 24-hour window is open. Once it has closed, the only thing you can send is an **approved template message**. Send a template, wait for the customer to reply, and the window opens again. Nothing is wrong with your number, your token or your account.

Meta's own error-code reference describes 131047 as: *"More than 24 hours have passed since the recipient last replied to the sender number,"* and the suggested fix is: *"Send the recipient a template message instead."* ([WhatsApp Cloud API error codes](https://developers.facebook.com/docs/whatsapp/cloud-api/support/error-codes)). In API responses the error is usually titled "Re-engagement message".

## What is the WhatsApp 24-hour window?

Meta calls it the **customer service window**. From Meta's pricing documentation: when a WhatsApp user messages or calls your business, a 24-hour timer starts. Every new message from that user resets the timer to a fresh 24 hours. While the timer is running you can send any kind of message. When it runs out, you can only send templates ([WhatsApp pricing docs](https://developers.facebook.com/docs/whatsapp/pricing)).

A few details catch people out:

- **The timer is per customer and per business number.** A customer who messaged your second WhatsApp number yesterday has not opened a window on your first one. Meta's wording is "the sender number".
- **Only the customer's messages reset it.** Your own replies do not extend the window. If a customer last wrote at 10:00 on Monday, the window closes at 10:00 on Tuesday, however many times you replied in between.
- **Other channels do not count.** An Instagram comment, a website form or a phone call to your landline does not open a WhatsApp window.
- **A brand-new contact has no window at all.** If someone has never messaged your number, your very first message to them must be a template.

## Why does WhatsApp have this rule?

The window is Meta's line between conversations the customer started and messages the business started. Inside the window you are answering someone who just contacted you, so Meta allows open-ended replies. Outside it, every message is business-initiated, so Meta wants it to be a pre-approved template in a known category. That keeps spam off the platform and lets Meta bill business-initiated messages by category.

## When does error 131047 usually happen?

It is almost always one of these four situations:

1. **Replying late.** A lead messages on Saturday night and someone from the team replies on Monday morning. More than 24 hours have passed, so the free-text reply fails.
2. **Messaging a new number.** You got a phone number from a form, a store checkout or an offline customer and typed a plain "Hi, thanks for your order" to them. They have never messaged you, so there is no window.
3. **Follow-ups that are scheduled too late.** A "did you get a chance to look?" message set up to go out two days after the last chat will hit 131047 every time if it is free text.
4. **Testing with your own phone.** You tested yesterday, came back today and sent another free-text message to your test number. The window from yesterday's test has closed.

## How do you fix WhatsApp error 131047? Step by step

1. **Confirm it really is 131047.** Open the failed message and read the error. Similar-looking failures have different causes: 131026 means the message could not be delivered (often the number is not on WhatsApp or the app is out of date), and 131049 means Meta held back a marketing message to protect engagement and you should wait at least 24 hours before trying again. Sending a template only fixes 131047.
2. **Pick an approved template that fits.** Meta sorts templates into three categories: **marketing** (offers, launches, reminders to buy), **utility** (updates about an order, booking or account the customer already has) and **authentication** (one-time passcodes). Pick the category that honestly matches the message. A "your order has shipped" message is utility; "20% off this weekend" is marketing.
3. **If you have no template yet, create one and submit it to Meta.** Write the text with placeholders such as `{{1}}` for the customer's name, choose the category and language, and submit. Meta reviews it, and you can only send it once it shows as approved.
4. **Send the template to the customer.** Fill in the placeholders and send. A template that ends with a clear question ("Reply YES to confirm your slot") gives the customer an easy reason to write back.
5. **When the customer replies, carry on normally.** Their reply opens a fresh 24-hour window, and your free-text replies, images and files work again.

Template messages are charged by Meta. Since 1 July 2025 Meta bills **per delivered message**, with the rate depending on the template category and the customer's country code. Meta has changed which messages are free inside the window more than once since then, so check [Meta's pricing page](https://developers.facebook.com/docs/whatsapp/pricing) for the current rules. Our [WhatsApp Business pricing guide for India](/blog/whatsapp-business-pricing-india/) explains how the categories add up.

## How do you avoid hitting 131047 at all?

- **Reply inside 24 hours.** Give someone on the team ownership of WhatsApp replies, especially over weekends. Most 131047 errors are simply late replies.
- **Use templates for anything you start.** Order updates, payment reminders, appointment reminders and re-engagement messages should all be approved templates from the start, not free text.
- **Get the customer to reply.** A template that asks a question turns a one-way notification into an open window, so you can keep chatting for free-form follow-ups.
- **Keep a small set of approved utility templates ready.** "Following up on your enquiry", "Your order update" and "Your booking reminder" cover most cases where a window has closed.
- **Do not try to get around the rule.** Sending marketing content inside a utility template risks Meta re-categorising or rejecting it. Picking the right category up front is faster.

## How Zavii handles the 24-hour window

Zavii connects to the WhatsApp Cloud API, so the 24-hour window is Meta's rule and applies to Zavii exactly as it does to every other platform. What Zavii does is make the rule visible and give you the template tools in the same place you reply:

- **Plain-language error in the inbox.** When a message fails with 131047, the failed message in the [Zavii inbox](/inbox/) says: "Outside the 24-hour WhatsApp window. Send an approved template instead of free text." You do not have to look up the code.
- **Send a template from the chat.** The template button in the chat composer opens **Quick Templates**, which loads the approved templates from your WhatsApp account. Pick one, fill in the variables and press **Send Template Message**.
- **Create and submit templates.** Under **Audience → Templates** (as of November 2026) there are tabs for **My templates**, **Meta library** and **Create**. Templates you create there are submitted to Meta for review on your WhatsApp Business account.
- **Templates for broadcasts.** [Broadcasts](/broadcasts/) to many customers are sent as approved templates, so they are not blocked by closed windows. See our [template campaign guide](/blog/how-to-run-whatsapp-template-campaigns/) for the full flow.
- **Store deliveries check the window first.** For a product sold through your Zavii store, Zavii checks whether the buyer has messaged you on WhatsApp in the last 24 hours. If they have, the normal delivery message is sent. If they have not, Zavii uses the approved utility delivery template you picked for that product.

Plan limits for the WhatsApp inbox, templates and broadcasts are listed on the [pricing page](/pricing/). Paid plans start with a 14-day trial that needs an autopay mandate. WhatsApp message fees are charged from your Zavii wallet at Meta's rate plus Zavii's published markup.

## FAQ

**Is error 131047 a ban or a problem with my number?**
No. It only means the 24-hour window with that one customer has closed. Your number, token and other conversations are unaffected. Send an approved template to that customer and the error goes away.

**Does my own reply extend the 24-hour window?**
No. Only a message or call from the customer starts or resets the window. Replying many times does not buy you more time.

**Can I send an image or a PDF outside the 24-hour window?**
Not as a normal message. Outside the window everything must be a template. Templates can include a media header (an image, video or document), which you set up when you create the template.

**Which template category should I use to restart a conversation?**
Use the category that matches the content. If it is about something the customer already has (an order, a booking, an enquiry they made), utility usually fits. If it promotes something new, it is marketing. Meta reviews the category, so choose honestly.

**Do Click-to-WhatsApp ads change the 24-hour rule?**
When a customer messages you from a Click-to-WhatsApp ad and you reply within the customer service window, Meta opens a free entry point window that can stay open for up to 7 days, during which Meta does not charge for most message categories. The rules are on [Meta's pricing page](https://developers.facebook.com/docs/whatsapp/pricing).

[Shared inbox](/inbox/) · [Broadcasts](/broadcasts/) · [WhatsApp template campaign guide](/blog/how-to-run-whatsapp-template-campaigns/) · [WhatsApp Business API in India](/blog/whatsapp-business-api-india-guide/)
