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 setup

Where 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

23 common WhatsApp Cloud API error codes, from Meta’s documentation (read 2 December 2026)
CodeIn shortWhat it meansHow to fix it
131026Message undeliverableThe 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.
13104724-hour window closedMore 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.
131049Marketing message held backMeta 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.
131050Customer stopped marketing messagesThe 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.
131048Spam rate limitToo 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.
131056Too many messages to one personToo many messages from your number to the same customer in a short time.Wait before messaging that person again; other customers are not affected.
130429Throughput limitYour app reached the Cloud API’s sending speed limit.Slow down the send rate or queue messages; a good platform paces campaigns for you.
131031Account restricted or wrong PINThe 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.
368Policy restrictionThe 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.
131042Payment problemA 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.
131045Number registration errorThe sending phone number is not properly registered.Register the number again (with its two-step PIN) before sending.
133010Number not registeredThe phone number is not registered on the WhatsApp Business Platform.Complete registration of the number, then retry.
132000Wrong number of variablesThe template was sent with more or fewer variable values than it defines.Send exactly one value for each {{1}}, {{2}} in the approved template.
132001Template not foundThe 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.
132012Variable format wrongA 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.
132015Template pausedThe template was paused for low quality.Edit the template to improve it and resubmit; meanwhile use another approved template.
132016Template disabledThe template was paused too many times and is permanently disabled.Create a new template with different wording.
131051Unsupported message typeThe message type is not supported.Send a supported type (text, media, template, interactive).
131053Media upload failedThe media could not be uploaded, for example an unsupported file type.Check the file type and size against WhatsApp’s supported media, then retry.
131021Same sender and recipientYou tried to message your own business number.Send to a different number.
131008 / 131009Missing or invalid parameterA required field is missing, or a value is not valid.Compare the request with the API reference; check the phone number format.
131016Service unavailableA WhatsApp service is temporarily down.Check the WhatsApp Business Platform status page and retry later.
131000Unknown errorThe 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

  1. 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.
  2. 131026, undeliverable. Usually a landline, a wrong country code, or a number written with a leading 0. Clean the number list before a campaign.
  3. 131049, marketing held back. Too many marketing messages to the same person, or low engagement. Send fewer, better messages to people who opted in.
  4. 131050, opted out of marketing. Respect it; keep sending only order and service updates.
  5. 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

Autochatix

Let’s talk about your business

Leave your number and the Autochatix team will call you to discuss your requirements.

Choose your country and enter your number, or include + and your country code.

By requesting a callback, you ask Autochatix to call this number about your enquiry. Privacy Policy.