Guides
WhatsApp API error codes: what each common error means and how to fix it
WhatsApp API error codes tell you why a message failed. The most common are 131026 (number not on WhatsApp or app too old), 131047 (24-hour window closed: send a template), 131049 (marketing message held back by Meta), 131050 (customer stopped marketing messages) and 132000 (wrong number of template variables). Below are 23 common codes with the fix for each, from Meta’s documentation.
A failed WhatsApp message always comes with a numeric code. This guide lists the codes businesses meet most, what Meta says each means, and the fix, so you can correct the list or the template instead of resending blindly.
Start free trial Discuss your setupWhere to find the error code
When a message fails, the WhatsApp Cloud API returns an error object with a numeric code and a title. You see it in three places: the API response when you send, the statuses webhook with status failed, and, on a platform like Autochatix, next to the failed message in the chat and in the campaign report. Quote the code and the message ID when you ask for help; that is what support needs.
Common error codes and how to fix them
| Code | In short | What it means | How to fix it |
|---|---|---|---|
131026 | Message undeliverable | The number is not on WhatsApp, the person has not accepted the latest terms, or their app is very old. | Check the number has WhatsApp (country code, no leading 0). Do not retry the same message in a loop; send by SMS or call instead. |
131047 | 24-hour window closed | More than 24 hours have passed since the customer last wrote, so free-text messages are not allowed. | Send an approved template instead; once they reply, you can write freely again for 24 hours. |
131049 | Marketing message held back | Meta did not deliver a marketing template to keep messaging healthy (per-user marketing limits). Meta says that from March 2027 code 131066 is returned instead. | Do not resend at once. Send fewer marketing messages to the same person, improve relevance, and try later. Full guide to 131049. |
131050 | Customer stopped marketing messages | The person chose to stop receiving marketing messages from your business. | Do not retry. Remove them from marketing lists; utility messages about their orders can still go. |
131048 | Spam rate limit | Too many earlier messages from your number were blocked or reported, so sending is restricted. | Check quality in WhatsApp Manager, pause campaigns, and send only to people who opted in. |
131056 | Too many messages to one person | Too many messages from your number to the same customer in a short time. | Wait before messaging that person again; other customers are not affected. |
130429 | Throughput limit | Your app reached the Cloud API’s sending speed limit. | Slow down the send rate or queue messages; a good platform paces campaigns for you. |
131031 | Account restricted or wrong PIN | The WhatsApp Business Account is restricted or disabled for a policy violation, or data such as the two-step PIN did not match. | Check Account Quality in Business Manager and the PIN. Full guide to 131031. |
368 | Policy restriction | The account is temporarily blocked for violating a platform policy. | Read the notice in WhatsApp Manager, fix the cause, and request a review if you think it is wrong. |
131042 | Payment problem | A billing problem: no payment method on the WhatsApp Business Account, or a credit line issue. | Add or fix the payment method in Business Manager billing; on a provider wallet, top it up. |
131045 | Number registration error | The sending phone number is not properly registered. | Register the number again (with its two-step PIN) before sending. |
133010 | Number not registered | The phone number is not registered on the WhatsApp Business Platform. | Complete registration of the number, then retry. |
132000 | Wrong number of variables | The template was sent with more or fewer variable values than it defines. | Send exactly one value for each {{1}}, {{2}} in the approved template. |
132001 | Template not found | The template does not exist in that language, or it is not approved yet. | Check the template name and language code match the approved template exactly. |
132012 | Variable format wrong | A variable value does not match the format the template expects. | Match the type in the template, for example text where text is expected, and remove line breaks where they are not allowed. |
132015 | Template paused | The template was paused for low quality. | Edit the template to improve it and resubmit; meanwhile use another approved template. |
132016 | Template disabled | The template was paused too many times and is permanently disabled. | Create a new template with different wording. |
131051 | Unsupported message type | The message type is not supported. | Send a supported type (text, media, template, interactive). |
131053 | Media upload failed | The media could not be uploaded, for example an unsupported file type. | Check the file type and size against WhatsApp’s supported media, then retry. |
131021 | Same sender and recipient | You tried to message your own business number. | Send to a different number. |
131008 / 131009 | Missing or invalid parameter | A required field is missing, or a value is not valid. | Compare the request with the API reference; check the phone number format. |
131016 | Service unavailable | A WhatsApp service is temporarily down. | Check the WhatsApp Business Platform status page and retry later. |
131000 | Unknown error | The message failed for an unknown reason. | Retry once; if it keeps happening, contact support with the message ID. |
Meaning summarised in our words from Meta’s Cloud API error codes, read 2 December 2026. Meta adds and changes codes; check the source for any code not listed here.
The five errors Indian businesses see most
- 131047, window closed. Someone replies to a customer a day later with free text. Fix: send a utility or marketing template; it reopens the conversation when they reply.
- 131026, undeliverable. Usually a landline, a wrong country code, or a number written with a leading 0. Clean the number list before a campaign.
- 131049, marketing held back. Too many marketing messages to the same person, or low engagement. Send fewer, better messages to people who opted in.
- 131050, opted out of marketing. Respect it; keep sending only order and service updates.
- 132000 / 132012, variable mismatch. A missing or badly formatted variable, often a blank name. Use a fallback such as “Customer” when a field is empty.
How to avoid most errors before they happen
- Store numbers in international format, digits only (91 then the 10-digit number).
- Send free text only inside 24 hours of the customer’s last message; use templates otherwise.
- Fill every template variable, with a fallback for empty fields.
- Pace large campaigns and watch your quality rating and messaging limit.
- Remove opt-outs and numbers that failed with 131026 from your lists.
Autochatix shows each failure with its reason in the inbox and in campaign reports, so you can fix the list rather than resend blindly. Related: messaging limits, quality rating, template approval.
WhatsApp error ka matlab (Hindi)
Message fail hone par API ek number (error code) deti hai. Sabse aam: 131047 matlab 24 ghante beet gaye, ab template bhejiye; 131026 matlab number WhatsApp par nahi hai ya app purana hai; 131049 matlab Meta ne marketing message abhi nahi pahunchaya, kam aur behtar message bhejiye; 131050 matlab customer ne marketing band kar di hai, use mat bhejiye.
Frequently asked questions
More than 24 hours have passed since the customer last wrote, so free text is not allowed. Send an approved template instead.
The message could not be delivered: the number may not be on WhatsApp, the person may not have accepted the latest terms, or their app may be very old.
Meta held it back to keep messaging healthy, often because of per-user marketing limits. Do not resend at once; Meta says code 131066 replaces it from March 2027.
The customer has stopped marketing messages from your business. Do not retry; you can still send order and service updates.
Send exactly as many variable values as the template has placeholders, with a fallback for empty fields.
In the API response, in the failed status webhook, and on Autochatix next to the failed message and in campaign reports.