WhatsApp error 131047: how to reply after the 24-hour window closes
WhatsApp error 131047 means you sent a free-form message more than 24 hours after the customer last wrote to you. Outside that customer service window WhatsApp only delivers approved templates, so send a template and continue the chat once the customer replies.
By the Whapi teamUpdated Checked against Meta’s error code reference
The short answer
- Meta describes error 131047 as: “More than 24 hours have passed since the recipient last replied to the sender number.” Meta’s fix: send a template message instead.
- The 24-hour customer service window opens when a customer messages or calls you, and resets each time they do it again. Your replies do not reset it.
- Inside the window you can send free-form text, images and documents. Outside it, only templates Meta has approved are delivered.
- Since October 1, 2026, Meta charges for free-form service messages after the first 1,000 per business number each month, and for Utility templates sent inside the window.
What WhatsApp error 131047 means
Error 131047 means WhatsApp refused a free-form message because the customer service window with that customer had already closed. A free-form message, which Meta calls a service or non-template message, is anything you type and send without a pre-approved template: plain text, an image, a document or a voice note.
| Field | What Meta says about 131047 |
|---|---|
| Error code | 131047 |
| Description | More than 24 hours have passed since the recipient last replied to the sender number. |
| Meta’s fix | Send the recipient a template message instead. |
Nothing is wrong with your number or your account. The error only tells you that this conversation needs a template before it can continue.
How the WhatsApp 24-hour customer service window works
The customer service window is a 24-hour timer that starts when a customer messages or calls your business number. Each new message or call from the customer resets the timer to 24 hours. While it runs, you can send any type of message. When it ends, you can only send approved template messages, and only to customers who opted in to hear from you.
Here is how one support conversation plays out:
| Time | What happens | Window |
|---|---|---|
| Monday 10:00 | The customer asks about order #1048 on WhatsApp | Opens, closes Tuesday 10:00 |
| Monday 18:30 | The customer sends a photo of the parcel | Resets, closes Tuesday 18:30 |
| Tuesday 17:00 | An agent replies with free-form text | Delivered. Your reply does not reset the window |
| Tuesday 19:00 | The agent sends a follow-up in free-form text | Fails with 131047. The window closed at 18:30 |
| Tuesday 19:05 | The agent sends an approved Utility template | Delivered. A new window opens when the customer replies |
Buttons matter too. When a customer taps a quick reply button, such as Confirm Order on a order confirmation, WhatsApp sends that button text to you as a message. That tap opens a 24-hour window, so a follow-up sent right after it goes through.
When Whapi users see error 131047
In Whapi, error 131047 usually comes from a manual reply sent after the window has closed. Whapi’s automations, such as order confirmations, abandoned checkout reminders and shipping updates, send templates that Meta has approved, and templates are allowed outside the window. The typical cases are:
- An agent answers a question in the inbox more than 24 hours after the customer’s last message.
- A customer replied to an automation yesterday, and today you want to send them a photo or a link by hand.
- Your team picks up weekend messages on Monday morning.
In the Whapi Team Inbox, a customer’s reply to an automation appears as a conversation, and agents can send an approved template straight from it when the window has closed.
How to fix WhatsApp error 131047
You fix error 131047 by sending an approved template, then switching back to normal replies once the customer answers. Step by step:
Check when the customer last wrote to you
The 24-hour customer service window starts from the customer’s last message or call, not from your last reply. If that was more than 24 hours ago, free-form messages fail with 131047.
Pick an approved template that matches why you are writing
Use a Utility template if the message is about the customer’s order or account, and a Marketing template if it promotes a product or offer. Only templates Meta has approved can be sent outside the window.
Send the template instead of free text
In the Whapi Team Inbox (Team plan) you can send an approved WhatsApp template message directly from the conversation. Templates can be delivered at any time, as long as the customer opted in to hear from you.
Continue the conversation when the customer replies
The customer’s reply opens a new 24-hour window. From then on you can send free-form text, images and documents again until 24 hours after their latest message.
Answer faster next time
Error 131047 comes from late replies. Get new conversations to an agent quickly so they answer while the window is still open. Whapi’s Team plan assigns conversations to agents automatically.
Templates to restart a conversation after 24 hours
The best template to restart a chat is short, names the reason you are writing and asks the customer to reply. These three are ready to copy. Variables in double braces are Whapi variables for Shopify data, such as the customer’s first name and order number. Meta decides the final category during review, so the category shown is the likely one, not a guarantee.
Hi {{customer_first_name}}, this is {{store_name}} about your question on order {{order_number}}. We have an answer for you. Reply to this message and we will continue the conversation here.
Button (quick reply): Continue chatHi {{customer_first_name}}, the courier could not deliver order {{order_number}} today. Please reply with a good time for a new delivery attempt, or confirm your address.
Buttons (quick reply): Pick a new time · Confirm addressHi {{customer_first_name}}, you asked {{store_name}} about {{product_name}} earlier this week. It is back in stock now. Reply to this message if you would like us to reserve one for you.
Button (quick reply): Reserve oneKeep order follow-ups free of discounts and product suggestions. Meta treats a template that mixes an order update with a promotion as Marketing. Our guide to utility vs marketing templates shows what moves a template from one category to the other.
What each option costs since October 1, 2026
Free-form replies inside the window are free for the first 1,000 each month on each business number, and templates are charged at the rate for their category. This is how Meta charges since October 1, 2026:
- Service messages (free-form replies inside the window) are charged per delivered message after the first 1,000 per business phone number each month. Unused free messages do not roll over.
- Utility templates sent inside the window are now charged at the normal Utility rate. They were free from July 1, 2025 to September 30, 2026.
- Templates sent outside the window are charged at the Utility or Marketing rate for the customer’s country, as before. The exception is a free entry point window, which opens when you reply to a customer who came from a Click to WhatsApp ad: Meta does not charge for messages in it for up to 7 days.
| Customer’s country | Service reply (after 1,000 free a month) | Utility template | Marketing template |
|---|---|---|---|
| Germany | $0.0550 | $0.0550 | $0.1365 |
| United Kingdom | $0.0220 | $0.0220 | $0.0635 |
| France | $0.0300 | $0.0300 | $0.0859 |
| Italy | $0.0300 | $0.0300 | $0.0795 |
| Spain | $0.0200 | $0.0200 | $0.0707 |
| United States and Canada (North America) | $0.0034 | $0.0034 | $0.0250 |
| United Arab Emirates | $0.0157 | $0.0157 | $0.0576 |
Messages that fail with 131047 are not delivered, so they are not charged. For every country and category, see the full WhatsApp API pricing table, and for what changed and why, read our summary of the October 2026 WhatsApp pricing change.
Why 131047 can appear when the customer wrote recently
If the customer wrote less than 24 hours ago and you still get 131047, check which number they wrote to and when, counted to the minute. These are the usual explanations:
- They wrote to a different number. The window belongs to the business number the customer messaged. If they wrote to another number of yours, the window on your Whapi number is not open.
- The 24 hours are counted exactly. A message sent at 18:30 on Monday opens a window that closes at 18:30 on Tuesday, not at the end of the day.
- Only the customer resets it. The window restarts when the customer messages or calls you. Your own replies and reactions do not extend it.
- A rare Meta issue. Meta lists a known issue where, in rare cases, a business receives a message but cannot respond within the window. If that happens, send a template.
A Click to WhatsApp ad does not lengthen the window either. Its free entry point window changes what Meta charges for up to 7 days, but Meta still allows free-form messages only inside an open 24-hour customer service window. For other error codes, see the WhatsApp Business API troubleshooting list.
Error 131047 questions
Error 131047 means you tried to send a free-form (non-template) WhatsApp message more than 24 hours after the customer last messaged you. Meta describes it as "More than 24 hours have passed since the recipient last replied to the sender number." The fix is to send an approved template message instead.
The customer service window lasts 24 hours. It opens when a customer messages or calls your business number, and it resets to a full 24 hours every time they message or call again. Your own replies do not reset it.
Send an approved template message. Templates are the only messages WhatsApp delivers outside the 24-hour customer service window. Once the customer replies to the template, a new 24-hour window opens and you can send normal free-form messages again.
No. Only a message or call from the customer starts or resets the 24-hour customer service window. If you reply at hour 23 and the customer does not answer, the window still closes at hour 24.
A quick reply button does. When the customer taps one, such as Confirm Order, WhatsApp sends that button text to you as a message, which opens a 24-hour customer service window. A URL button opens a website instead, so tapping it does not send you a message.
Not all of them since October 1, 2026. Each business phone number gets 1,000 free service (free-form) messages a month, and Meta charges for service messages after that. Utility templates sent inside the window are now charged at the Utility rate. Messages sent inside a free entry point window from a Click to WhatsApp ad are not charged.
Whapi’s automations, such as order confirmations, abandoned checkout reminders and shipping updates, send templates that Meta has approved, and templates can be sent outside the 24-hour window. Error 131047 usually comes from a free-form reply typed in the inbox after the window has closed.
No. Meta charges only for delivered messages. A free-form message rejected with 131047 is never delivered, so it is not billed. The template you send instead is charged at the rate for its category and the customer’s country.
Sources
- Meta: WhatsApp error codes (131047) (checked October 20, 2026)
- Meta: Service messages and customer service windows (checked October 20, 2026)
- Meta: Pricing, free tier of monthly service messages and October 1, 2026 changes (checked October 20, 2026)
- Meta: Template fundamentals (checked October 20, 2026)
- Meta: Template components (quick reply buttons) (checked October 20, 2026)
- Meta: Template categorization guidelines (checked October 20, 2026)
Keep reading
- FeaturesWhatsApp Team Inbox for Shopify StoresOne shared WhatsApp inbox for unlimited agents, with auto-assignment, Shopify order context, AI conversation labels and agent performance metrics.Read
- HelpWhatsApp Error 131049: Message Not Delivered (Fix)Error 131049 means Meta chose not to deliver a marketing message to keep engagement healthy. Why it happens and what you can change.Read
- HelpWhatsApp Error 131026: Message Undeliverable (Fix)Error 131026 means a WhatsApp message could not be delivered to the number. Common causes, what you can check and when to stop retrying.Read
- TemplatesWhatsApp Utility vs Marketing Templates: Rules & CostHow Meta decides if a WhatsApp template is utility, marketing or authentication, why it matters for cost, and how to avoid recategorization.Read
- PricingWhatsApp API Pricing 2026: Per-Message Rates by CountryMeta's WhatsApp Business API rates per message for marketing, utility and authentication templates, by country, plus what changed in 2026.Read
- HelpWhatsApp Business API Errors & FixesFix common WhatsApp Business API problems: error codes, payment issues, undelivered messages, template rejections and coexistence setup.Read
Answer every WhatsApp customer from one shared inbox.
Join 5,000+ merchants using Whapi. Install it from the Shopify App Store, connect your WhatsApp Business number and turn on your first automation in minutes. Every plan starts with a 7-day free trial.