Digital Solutions Studio
Why a WhatsApp message never arrives: the twenty-four-hour window and templates
One of the problems that costs the most time when you connect WhatsApp is the message your application believes it sent and that never reaches the phone. The cause is almost always the conversation window: businesses can only send plain text for a limited period after the customer writes to them, and outside it an approved template is required.
Tell us about your project- Custom solutions for each business
- Software, automation and integrations
- Tell us about your project and we’ll look into your case
The window opens when the customer sends a message and lasts twenty-four hours from the latest one they send. Inside it you can reply with plain text, images or documents. After that, the only message allowed is a template the provider has approved beforehand, with its variables and its language.
The hard part is that the failure is not always obvious. Depending on the provider and the moment, the API may return a specific error, such as the one that says the conversation has expired, or a successful response even though the message is not delivered and the problem only shows up later in the delivery status. That is why it helps to store the status of every message and record its error code.
A tidy way to avoid it is to note when each contact last wrote to you. Before sending, your application checks whether the window is still open: if it is, it sends plain text; if not, it sends the template; and if no template is available, it raises a clear error instead of losing the message silently.
Templates are created and approved with your provider, and each one has its name, its language and a fixed number of variables. If you want to build this check into your project and do not know where to start, tell us about your case in the form.
Tell us about your project
Tell us what you need. We’ll find a way to make it happen.
Tell us about your project