Fix errors7 min read
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.

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). 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).
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:
- 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.
- 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.
- 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.
- 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
- 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.
- 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.
- 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. - 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.
- 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 for the current rules. Our WhatsApp Business pricing guide for 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 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 to many customers are sent as approved templates, so they are not blocked by closed windows. See our template campaign guide 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. 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.
Shared inbox · Broadcasts · WhatsApp template campaign guide · WhatsApp Business API in India


