WhatsApp API Error Codes: What They Mean and How to Fix Them

Short answer

Every WhatsApp API error code points to one of three actions: retry later, fix something and send again, or stop. Find the code in the tables below, read what it means, and follow the fix that Meta suggests.

By the Koverage Team. Published 26 November 2026. Last updated 26 November 2026. Facts checked against Meta’s error codes page on that date.

Key takeaways

  • Codes in the 131xxx range mostly describe sending problems. Codes in the 132xxx range describe template problems.
  • Error 131047 means the 24-hour window is closed. Send a template.
  • Do not retry errors that need a human fix, such as 130403 (blocked) or 131050 (marketing opt-out).
  • Temporary errors and rate limits can be retried after a wait.
  • Meta’s page is the source of truth. This guide groups the codes in simple words, and Meta can change them.

You send a message through the API and it fails. The response shows a number you have never seen. What now?

That number is an error code. It tells you what went wrong, and many codes also tell you what to do next. This guide explains the common WhatsApp API error codes in simple English, groups them so they are easy to find, and gives you a clear rule for when to retry.

Whether you are a developer or a business owner who works with one, knowing the main WhatsApp API error codes saves hours. A short list of codes explains most failed messages.

The codes here come from Meta’s page for the WhatsApp Cloud API. Where a code shows up in your own dashboard or response can depend on your provider.

How to read WhatsApp API error codes

An error code is a number that names the problem. Two parts matter: the number itself and the short message with it.

Meta’s list has a pattern that helps you guess the area:

What the number range tells you

131xxx

  • Sending a message
  • Customers and window
  • Account and billing

132xxx

  • Template problems
  • Wrong variables
  • Quality and pausing

133xxx and others

  • Number registration and PIN
  • Server problems
  • Auth and permission codes like 0, 3, 10, 190
Figure 1: A quick way to guess where a problem sits.

This pattern is a helpful habit, not a rule. Always read the meaning of the exact code.

What an error code cannot tell you

A code names the problem, but not always the reason behind it. For example, 131048 says sending is limited, but the cause may be blocks, spam flags or something else on your account. When a code is vague, look at the quality status in WhatsApp Manager and at what you sent before the error began.

Also remember that WhatsApp API error codes can be added or changed. Meta’s page is the one to trust, and this guide shows the main ones as of today.

Sending and customer errors

These are the errors you will meet most often. They are about the message, the customer or the window.

CodeWhat it meansWhat to do
131047More than 24 hours since the customer’s last replySend an approved template
131026Undeliverable. The number may not be on WhatsApp, the person has not accepted the latest terms, or their app is oldAsk the person to confirm, accept the terms and update WhatsApp
131049Marketing message held back to protect engagementWait at least 24 hours before resending
131050The person stopped receiving marketing messagesDo not retry. Meta suggests subscribing to the user_preferences webhook
130403The person blocked your businessDo not retry. They must unblock you
131048Sending is limited on this number, likely due to blocks or spam flagsCheck quality status in WhatsApp Manager
131056Too many messages from you to the same person in a short timeWait and retry. Other people are not affected
131021The sender and the receiver are the same numberSend to a different number
131051Unsupported message typeUse a supported type
131052The customer’s media could not be downloadedCheck the details in the messages webhook. Ask the person to send it another way
131053Your media could not be uploaded, for example an unsupported file typeCheck that the file’s MIME type is supported

These are the WhatsApp API error codes you will meet most often. Two of them link to other guides. For the window rule, read about the WhatsApp 24 hour window. For marketing opt-outs and blocks, read our guide to WhatsApp opt-in.

Template errors

Templates are checked strictly. These codes show up when a template is missing, wrong or low in quality.

CodeWhat it meansWhat to do
132000The number of values does not match the template’s variablesSend all the values the template needs
132001The template does not exist in that language, or is not approvedCheck the name, language and approval status
132007The template content breaks a policyReview the template guidelines
132012A variable value does not match the template’s formatMatch the format the template expects
132015The template is paused for low qualityEdit it to improve quality, then retry once it is approved
132016The template was paused too often and is now disabledCreate a new template
131064Messaging is limited because of template classification problemsFix the classifications. The limit lifts after the enforcement period

Errors when you create a template

Meta also lists codes you can see while making a template:

  • 2388040: A field is too long.
  • 2388293: Too many variables for the amount of text. Add words or remove variables.
  • 2388299: A variable sits at the very start or end of the text. Move it inside.
  • 2388039: The template is in a state, such as in review, that cannot be edited.
  • 2388019: The account reached its template limit of 250.

Learn more about message templates on Koverage.

Token and permission errors

If you call Meta’s API yourself, these show up when your access is not right.

CodeWhat it meansWhat to do
0The token failed, expired or was revokedGet a new access token
190The access token has expiredGet a new access token
200No access token was sent with the requestInclude a valid token
3The app lacks a permission that the call needsCheck permissions in the access token debugger
10 and 200 to 299A permission is missingCheck permissions in the debugger
100A parameter is unsupported, misspelled or too longCheck the endpoint’s reference and parameter rules

Through Koverage, you use a Koverage API key instead of a Meta token. Read how it works in our guide to the WhatsApp API key.

Account and phone number errors

CodeWhat it meansWhat to do
368The WhatsApp Business account is restricted or disabled for a policy problemReview Meta’s policy enforcement document
131031The account is locked, or request data such as a PIN did not matchReview policy enforcement and use the health status API for the reason
131042A billing problem, such as no payment method or a credit limitCheck your billing setup
131037The sending number has no approved display nameChange the display name
131045The number is not registeredRegister the number first
130497The account cannot message users in some countriesCheck the allowed countries in the messaging policy
133005The two-step verification PIN is wrongCheck the PIN. To reset, turn off two-step verification and set a new PIN
133010The number is not registered on the platformRegister it first
133015The number was deleted recently and deletion is not completeWait 5 minutes

Temporary errors and rate limits

CodeWhat it meansWhat to do
1Bad request or a possible server problemCheck the status page and the request
2The service is down or overloadedCheck the status page and retry
131000Unknown errorRetry. If it continues, raise a support ticket
131016Temporary service outageCheck the status page and retry
131057The account is in maintenance modeWait
133004Temporary server problemCheck the status page, then retry
4Your app hit its API call limitRetry later or send fewer requests
80007Your WhatsApp Business account hit its rate limitRetry later or send fewer requests
130429Cloud API message speed limit reachedRetry later or send less often

Retry, fix or stop?

Most teams lose time by retrying errors that will never work. Use this simple sorting.

Three actions for any error

Retry later

  • 1, 2, 131000, 131016
  • 131057, 133004
  • 4, 80007, 130429, 131056

Fix, then send again

  • 131047: use a template
  • 132000, 132001, 132012: fix the template call
  • 0, 190: new token
  • 131049: wait 24 hours

Stop

  • 130403: person blocked you
  • 131050: marketing opt-out
  • 131021: same sender and receiver
Figure 2: A simple way to sort errors. This grouping is our advice based on Meta’s suggested fixes.
When a message fails
Read the code

Find it in the tables above.

Check the type

Temporary, fixable or a stop signal?

Act

Wait and retry, fix the cause, or do not retry.

Log it

Save the code, the number and the time.

Review weekly

Repeated codes show a real problem.

Figure 3: A five-step habit for every failed message.

A simple retry rule in code

If you build your own sending code, put the decision in one place. This is a small example in plain JavaScript. It is our own teaching sketch, not Meta code, so adapt it to your project.

const RETRY = [1, 2, 4, 80007, 130429, 131000, 131016, 131056, 131057, 133004];
const STOP  = [130403, 131050, 131021];

function nextStep(code) {
  if (STOP.includes(code)) return "stop";
  if (code === 131047)     return "send_template";
  if (code === 131049)     return "wait_24_hours";
  if ([0, 190].includes(code)) return "get_new_token";
  if (RETRY.includes(code)) return "retry_with_wait";
  return "fix_and_review";
}

Retry with a wait that grows, such as 1 minute, then 5, then 15. Stop after a few tries and send the problem to a person.

Your provider may wrap errors

The code above uses Meta’s numbers. A provider’s own API can return its own messages around them. Check your provider’s documentation. For Koverage, see the send message API and the webhook API.

Template quality: paused and disabled

Templates can lose their right to be sent. Meta says templates with negative feedback or low read rates can be paused, and medium or low quality ones are at risk.

A template’s life
Approved
The template can be sent
Paused
Error 132015. It cannot be sent until quality improves
Disabled
Error 132016. It was paused too often. Make a new template
Figure 4: What the 132015 and 132016 errors mean for one template.

How to stay safe: send only to people who opted in, write clear messages, and watch the quality rating of each template in WhatsApp Manager.

Three worked examples

Habits that prevent errors

  1. Test templates before a big send

    Send to your own number first. Check variables and the language.

  2. Check the window

    Know whether the customer wrote in the last 24 hours before you pick a message type.

  3. Send at a steady pace

    Bursts can hit rate limits such as 130429 or 131056.

  4. Keep your list clean

    Remove numbers that fail with 131026 and respect every stop signal.

  5. Watch your billing

    Error 131042 can come from a missing payment method or a credit limit.

  6. Keep a log

    Store the code, time and number for every failure. Patterns show up quickly.

When to ask for help

Some errors need more than a quick fix. Contact your provider, or Meta support through your provider, when you see these.

  • 131000 keeps coming back. Meta says to retry, and to raise a direct support ticket if it continues.
  • 368 or 131031. The account is restricted, disabled or locked. This is a policy matter, so read Meta’s policy enforcement document and look at the account status.
  • 130497. The account cannot message users in some countries. Check the countries allowed for your type of business.
  • 2593107 or 2593108. These appear when you sync contacts or chat history after connecting an existing Business app number. Meta says the sync can be done only once for contacts and once for history, and within 24 hours. The fix is to disconnect and connect again. Read our guide to WhatsApp coexistence.
  • 131042. A billing issue. Check the payment method and credit limit.

What to send when you ask

A good support message saves a day. Send these five things:

  1. The error code and its text

    Copy it exactly as it appeared.

  2. The time

    Give the date, the time and the time zone.

  3. The number you sent from and to

    Hide part of the customer’s number if you prefer.

  4. The message type

    Free-form text, media or a template. If it was a template, give its name and language.

  5. What changed

    New template, new list, new token or more volume than usual.

With these five facts, most errors can be found in minutes.

How Koverage helps

When an error is not clear, send us the code, the time and the number it happened on. We help you read it and fix the cause.

Questions people ask

What does error 131047 mean?

The customer last replied more than 24 hours ago, so you cannot send a free-form message. Send an approved template message instead.

What does error 131049 mean?

WhatsApp held back a marketing message to protect healthy engagement. It is a per-user marketing limit. Meta says to wait at least 24 hours before you send it again, because earlier retries will fail.

What does error 131026 mean?

The message could not be delivered. The number may not be on WhatsApp, the person may not have accepted the latest terms, or they may use an old version of WhatsApp. Ask them to update and accept the terms.

Which errors should I retry?

Temporary ones such as 1, 2, 131000, 131016, 131057 and 133004, and rate limits such as 4, 80007 and 130429 after a wait. Do not retry 130403 (the person blocked you) or 131050 (they opted out of marketing).

What is error 190?

The access token has expired. Get a new access token. Error 0 means the token failed, expired or was revoked, and the fix is the same.

What does error 132001 mean?

The template does not exist in that language, or it is not approved. Check the template name, the language and the approval status.

What if my template is paused?

Error 132015 means the template is paused for low quality and cannot be sent. Edit it to improve quality and retry once it is approved. Error 132016 means it is disabled for good, so create a new template.

Where do I see these codes?

Meta returns the code with the failed request. Some details, such as media problems, appear in the messages webhook. How your provider shows them can differ, so ask your provider where to look.

Stuck on an error code?

Send us the code and the time. We help you find the cause.

Book a demo

Sources checked on 26 November 2026

Meta for Developers: Error codes

Meta for Developers: Templates overview

Meta for Developers: Send messages

Meta updates its documents often. We will update this guide when the rules change.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top