← Blog

·

WhatsApp API error 80007: WABA rate limit reached

Updated on November 10, 2026

WhatsApp Business API error 80007 means your account has reached the hourly limit for Graph API management calls, such as reading templates, phone numbers or subscribed apps. It has nothing to do with how many messages you send: the messages-per-second limit returns a different code, 130429. The fix is to call these endpoints less often, wait for the one-hour window to free up, and replace polling with webhooks.

This article explains which endpoints count toward the limit, how to tell 80007 apart from the other rate limit errors, and how to change your code so the error does not come back.

What the official documentation says

On the Cloud API error codes page, 80007 sits under throttling errors with the description “The WhatsApp Business Account has reached its rate limit”. Meta’s suggested fix is to try again later or reduce the frequency and amount of API queries your app makes.

A typical response follows the standard Graph API error format:

{
  "error": {
    "message": "(#80007) <error title>",
    "type": "OAuthException",
    "code": 80007,
    "error_data": {
      "messaging_product": "whatsapp",
      "details": "The WhatsApp Business Account has reached its rate limit."
    },
    "fbtrace_id": "A1b2C3d4E5f6"
  }
}

The message field combines the code with the error title, and the title may vary. The documentation recommends building error handling around code and details, not error_subcode, which is no longer returned from Graph API v16.0 onward.

Which calls count toward the limit

The rate limits section of About the platform lists the management endpoints covered by the hourly limit:

EndpointMethodsCommon use
/<WABA_ID>GETRead account details
/<WABA_ID>/assigned_usersGET, POST, DELETEManage who can access the account
/<WABA_ID>/phone_numbersGETList numbers and their status
/<WABA_ID>/message_templatesGET, POST, DELETEList, create and delete templates
/<WABA_ID>/subscribed_appsGET, POST, DELETESubscribe the app to webhooks
account-to-number current statusGETCheck current status

The published values today are:

  • 200 requests per hour, per app, per account, by default.
  • 5,000 requests per hour, per app, per active account that has at least one registered phone number.
  • Credit Line API endpoints have their own limit of 5,000 requests per hour.

Since the WABA was split into a WhatsApp account (the phone number) and a Messaging account (templates, billing and webhooks), the documentation describes the limit as “per Messaging account”. In practice, it covers the same set of management calls.

Notice what is not on the list: the /<PHONE_NUMBER_ID>/messages endpoint. Sending messages has a separate control, covered in the next section.

Want to try it while you read? Create a Vectalk account and send your first message through the official API. Create free account →

80007, 80008, 4, 130429 and 131056: which is which

Developers who see “rate limit” in a log often treat everything the same way. Each code points to a different bottleneck:

CodeWhat it limitsWhere it shows upWhat to do
4Calls from the whole appGraph API responseCheck “Application Rate Limit” in the App Dashboard and cut calls
80007Management calls on one WhatsApp accountGraph API responseCut queries to that account and wait for the 1-hour window
80008The “WhatsApp Business Management API” business use caseGraph API responseSame handling as 80007
130429Messages per second for the phone number (throughput)Send responseSlow down and retry with exponential backoff
131056Too many messages to the same recipient in a short timeSend responseWait before messaging that contact again

Code 80008 appears on the Graph API rate limiting page, in the business use case error table, next to the WhatsApp Business Management API. The WhatsApp error codes page lists 80007. Since the two official sources use different numbers for management limits, the safe choice is to handle both the same way.

Code 130429 is the throughput limit: by default, Cloud API supports up to 80 messages per second per registered number, with an automatic upgrade to 1,000 for eligible numbers, according to the throughput page. Our article on WhatsApp API rate limits and throughput covers it in depth. For the sender-recipient pair limit, see the article on error 131056.

None of these is the same as the portfolio messaging limit, which counts unique recipients over 24 hours and does not return an error at call time.

Most common causes of error 80007

In almost every case, the problem is code that queries the account too often. These are the patterns we see most:

  1. Polling template status. A job that calls GET /message_templates every minute to check whether a template was approved burns 60 calls per hour on that alone. With the default limit of 200, there is little left.
  2. Fetching templates before every send. Some systems look up the template through the API to validate name and language every time they send a message. During a campaign, that multiplies calls by the number of sends.
  3. Dashboards that hit the API on every page load. An internal screen that shows numbers and templates and queries Meta directly each time someone opens it.
  4. Several services sharing one account. CRM, ERP, automation tool and an internal script, all reading the same account without a shared cache.
  5. Retrying without waiting. A loop that repeats the call as soon as it gets the error only extends the block.
  6. No registered phone number. Until the account has a registered number, the 200-per-hour limit applies. Test scripts hit it easily during setup.

How to fix it, step by step

1. Stop immediate retries

When you get code: 80007 (or 80008), do not repeat the call in the same second. Log the time and wait. The limit is counted over a one-hour window, so think minutes, not milliseconds.

2. Replace polling with webhooks

Template status, quality and limit changes arrive by webhook. The message_template_status_update field tells you when a template is approved, rejected, paused or disabled. Our article on template and account webhooks shows the payloads. With that in place, periodic polling is no longer needed.

3. Cache what rarely changes

Template lists, phone numbers and IDs rarely change. Store them in your database or in memory and refresh them when a webhook arrives or on a slow schedule (for example, once per hour). At send time, validate name and language against the cache, not the API.

4. Centralize access to the account

If several systems use the same account, put a single service in front of the management calls, with a cache and a queue. That way you control the total number of calls per hour.

5. Read the usage header when it is present

The Graph API rate limiting page describes the X-Business-Use-Case-Usage header, with the fields call_count, total_cputime, total_time and estimated_time_to_regain_access (minutes until access is restored). If it comes back in the response, use it to slow down before you hit the limit.

6. Register the phone number

Active accounts with at least one registered number move up to 5,000 calls per hour. If you are still setting things up, registering the number takes the account out of the lower limit.

Example: a call that backs off on 80007

The Node.js snippet below makes a management call and, if it gets 80007 or 80008, waits before retrying. It reads estimated_time_to_regain_access when the header exists and falls back to exponential backoff when it does not.

const GRAPH = 'https://graph.facebook.com/v27.0';
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
const MANAGEMENT_LIMIT = new Set([80007, 80008, 4]);

export async function callManagement(path, token, attempt = 1) {
  const r = await fetch(`${GRAPH}/${path}`, {
    headers: { Authorization: `Bearer ${token}` },
  });
  const body = await r.json();
  if (r.ok) return body;

  const code = body.error?.code;
  if (MANAGEMENT_LIMIT.has(code) && attempt <= 4) {
    let waitMs = 60_000 * 2 ** (attempt - 1); // 1, 2, 4, 8 minutes
    const usage = r.headers.get('x-business-use-case-usage');
    if (usage) {
      const values = Object.values(JSON.parse(usage)).flat();
      const minutes = Math.max(0, ...values.map((v) => v.estimated_time_to_regain_access ?? 0));
      if (minutes > 0) waitMs = minutes * 60_000;
    }
    console.warn(`Management rate limit (${code}). Retrying in ${waitMs / 1000}s`);
    await sleep(waitMs);
    return callManagement(path, token, attempt + 1);
  }
  throw new Error(`Graph API ${code}: ${body.error?.error_data?.details ?? body.error?.message}`);
}

In production, push the call back onto a scheduled queue instead of keeping the process asleep. And do not use this pattern for sending messages: 130429 needs its own pacing, per second rather than per hour.

How it works with Vectalk

Vectalk is a proxy for the official WhatsApp API: your application calls Vectalk, and Vectalk talks to Meta’s Cloud API. Meta’s limits still apply to management queries made on behalf of your account, so the practices above still apply.

In practice:

  • List templates with GET https://apis.vectalk.com.br/api/templates?name=<name> using an instance token, and cache the result. The reference is at docs.vectalk.com.br.
  • Set up a webhook in the dashboard or through the API to receive events in Meta’s format, instead of polling the API every minute.
  • Use the dashboard logs to see which calls failed and with which code.

If you do not have an account yet, sign up at apps.vectalk.com.br/register.

Frequently asked questions

Does error 80007 block message sending?

Not directly. It affects the management calls listed in the documentation, such as templates, phone numbers and subscribed apps. Sending through the messages endpoint has a different control (throughput, error 130429). But if your code looks up the template before every send, 80007 ends up stalling the campaign anyway.

How long does the block last?

The documentation describes an hourly limit with no fixed unblock time. When the response includes the X-Business-Use-Case-Usage header, the estimated_time_to_regain_access field gives the remaining minutes. Without it, wait a few minutes and use exponential backoff.

Can I ask Meta to raise the call limit?

The documentation does not describe a request process for this limit. What it does describe is the automatic change from 200 to 5,000 calls per hour when the account is active and has at least one registered number.

What is the difference between error 4 and 80007?

Error 4 means the whole app reached its call limit across every account it accesses; Meta suggests checking the “Application Rate Limit” section in the App Dashboard. 80007 is specific to one WhatsApp account. A SaaS with many customers can see both and needs to control volume at both levels. Our article on WhatsApp API error codes gives the full overview.


Official sources consulted on November 10, 2026: Cloud API error codes, About the platform: rate limits, Graph API rate limiting, Throughput, Template status, Vectalk: list templates.

Try the official WhatsApp API today

Create your account, generate a token and send your first message with the quick-start guide. Same payloads and webhooks as Meta's Cloud API.