What we ran into with WhatsApp

We have built and run WhatsApp setups for our own sites and for clients. Most of it works. These are the things that didn’t behave as we expected – with numbers where we have them – so you don’t pay for the same mistakes.

Last checked:

On this pageWhat this page covers
  1. What we have run
  2. 1. Photos expire – 40 of 42 were gone
  3. 2. When the other source is down, say so
  4. 3. Unofficial connectors: read, don't send
  5. 4. "Check your connection" was a rate limit
  6. 5. Unsigned webhooks get 403

What we have run

We have three kinds of WhatsApp setup in production. The first is a web interface on top of n8n, the WhatsApp Cloud API and MySQL, written in PHP 8.3 with nginx and no build step; it shows chats, reactions and attachments and sends through Meta’s Graph API. It is used for WhatsApp appointment confirmations for a salon booking site. The second is an internal WhatsApp hub on FastAPI, PostgreSQL and MinIO that uses WAHA as its engine. The third is n8n workflows with an AI agent on WhatsApp and Chatwoot on the web chat of our own sites. None of them is for sale; they are our own tools.

Kommo is not on the list. We chose not to use it and have not run it.

1. Photos expire – 40 of 42 were gone

Our first version fetched photos from Meta when a staff member opened the chat. It worked in testing. In production a photo received eight days earlier returned error 400, and the URL in the webhook worked only for minutes. The result: 40 of 42 photos were gone before anyone saw them. Meta’s documentation confirms the mechanics: media URLs expire after five minutes and media ids from webhooks after seven days.

What we do now: copy the media to our own storage the moment the webhook arrives. Treat “received” as “stored”, not as “can be fetched later”.

2. When the other source is down, say so

The WhatsApp interface for the salon booking site pulls extra details from the booking system, but only as an optional, read-only source. When that source was down, the interface must not say “client not found” – that makes staff create duplicates. Instead it shows 503, so it is clear the fault is elsewhere. It sounds like a detail. It is the difference between a fault that gets fixed and a fault that gets saved into your data.

3. Unofficial connectors: read, don’t send

For our own WhatsApp hub we chose WAHA because it supports multiple sessions and engines. It runs in Docker with the NOWEB engine on arm64, and according to our notes it has been fully free since version 2026.6.1; plan B is whatsmeow (GOWS). WAHA runs a real WhatsApp Web instance under the hood, and WAHA itself says WhatsApp does not permit bots or unofficial clients, so it “shouldn’t be considered totally safe”.

That is why our connector deliberately has no send function. Reading your own chats and sending bulk messages carry different risks of getting banned. If you need to message customers from a system, use the Cloud API. Unofficial connectors are not a cheap substitute for the API when it comes to sales.

4. “Check your connection” was a rate limit

After a series of attempts to link a device, the phone showed errors like “Check your connection” and “Couldn’t link device”. Nothing was wrong with the connection. The real cause, 429 rate-overlimit, was visible only in the engine’s API response. Lesson: stop after two or three attempts, wait, and read the engine’s log instead of the phone’s error. The good news: a WAHA session restored itself from PostgreSQL after about 11 days without a new QR scan.

5. Unsigned webhooks get 403

A webhook URL is public. Without a signature check, anyone can push fake “customer messages” into your CRM or make an AI agent reply. We enabled HMAC checks on every WhatsApp, Facebook and Instagram webhook, so unsigned or tampered requests get 403. At the same time we moved hard-coded bot tokens out of URLs in 36 HTTP nodes across 12 workflows. The code is in the recipe.

6. The chat prompt is a public promise too

On our own sites an n8n AI agent answers both in the web chat (Chatwoot) and on WhatsApp. On 12.11.2026 we found the agent could quote an hourly rate while the website sells at a fixed price. Both prompts were fixed to quote only the fixed price from the price lookup, and a daily n8n check now catches it if the two prompts drift apart. What a bot writes to a customer is an offer. Test it like a pricing page.

7. “Not available” during opening hours

Chatwoot 4.1 showed “Vi er ikke tilgængelige” (we’re not available) in the widget even though the AI agent answered around the clock. Chatwoot counts only human agents as online, so without working hours the channel looks closed. The fix was to switch working hours on and set them to open all day.

8. “Success” is not the same as sent

In a salon reminder workflow n8n showed “success” for every run while 12 of 207 SMS were never sent. The JSON was built by gluing strings together, and a \ in a service name broke it. The fix was JSON.stringify plus an explicit check that the message was sent. The same goes for WhatsApp: store the message id from the API response and follow the status updates on the webhook.

What it means for you: most problems with WhatsApp sales are not WhatsApp. They are data not stored in time, systems that don’t speak up, and automation that isn’t measured. That is where we spend the time when we set up the Cloud API for a client. Error codes and quick answers are on errors and help.

Sources

Last reviewed: 2026-12-04

Questions about WhatsApp in production

Is WAHA allowed?

WAHA runs WhatsApp Web, not the official API, and WAHA itself says WhatsApp does not permit unofficial clients. We use it only to read our own chats, not to send.

How do we avoid losing customers’ photos?

Save them to your own storage when the webhook arrives. If you wait until someone opens the chat, they may have expired.

Why does linking a device say “check your connection”?

It can be WhatsApp’s limit on how many times you may link a device. For us the real error was 429 rate-overlimit.

Can a chatbot answer on WhatsApp at night?

Yes, we do it ourselves with an n8n AI agent. But test the prices and promises it gives as you would test a pricing page. More on bots at bot.best-choice.dk.

Fixed price, no commitment

Get a free WhatsApp check and a fixed price

Tell us briefly what you use today and what you want to achieve. A person answers by e-mail with a proposal and a fixed price before any work starts.

  • A fixed price before we start
  • An answer by e-mail, no calls
  • Your details are used only to answer you

Fields marked with * are required.

What is it about?