Meta Marketing API errors: tokens, permissions, parameters and rate limits

Short answer

190 means an invalid or expired token: issue a new one, and for servers prefer a non-expiring system user token. 200 and 10 mean missing permissions: the token lacks ads_read or ads_management, or the user has no access to the account. 100 is an invalid parameter or field. 4 is the app limit, 17 the user limit, 613 a separate limit of a specific API, and 80000–80014 are ad account limits (80000 Insights, 80004 ads management). For rate limits, use backoff with growing delays, batch requests and read the X-Business-Use-Case-Usage and X-Ad-Account-Usage headers.

Everyone who connects Meta to scripts, dashboards, AI agents via MCP or monitoring bots runs into these errors. The table below covers almost everything I’ve seen in practice.

Summary table

Code Message Cause What to do
190 Invalid OAuth 2.0 Access Token Token expired, revoked, password changed New token; for servers, a system user token
200, 10 Permission error No ads_read/ads_management or no account access Reissue the token with permissions, grant asset access
100 Invalid parameter Wrong field, value or level Check the request against the API version docs
1, 2 Unknown error / Service unavailable Temporary failure Retry later
4 Application request limit reached App limit Lower the frequency, batch
17 User request limit reached User (token) limit Pause, spread requests
613 Calls to this api have exceeded the rate limit A specific API’s own limit; check the subcode Pause, fewer parallel requests
80000 Too many calls (Ads Insights) Insights limit per ad account Query less often, async reports
80004 Too many calls (Ads Management) Ads management limit per account Pause, app access tier

Subcodes worth knowing

  • 613 / 1487742: too many calls from one ad account.
  • 613 / 5044001: mutation rate exceeded in the account.
  • 613 / 4841018: too many concurrent requests.
  • 17 / 1885172: the account spending limit was changed more than 10 times a day.

How to stay under the limits

  1. Read the headers. X-Business-Use-Case-Usage shows load in percent and time to recovery; X-Ad-Account-Usage shows per-account load.
  2. Combine requests. A batch of up to 50 operations, fields via fields, nested requests instead of looping over objects.
  3. Heavy stats asynchronously. For long periods and breakdowns, use async Insights reports.
  4. Exponential backoff. On 4, 17, 613 and 800xx the delay grows: 1, 2, 4, 8 minutes.
  5. Access tier. Quotas depend on the app’s Marketing API access tier; standard access gives more.

Where this shows up

Most often I see 190 and 17 from people who connected Meta to an AI agent with a personal token. The fix is two steps: a system user token and the official Meta MCP server.

Questions and answers

Error 190 appeared after 60 days. Why?

A long-lived user token lasts about 60 days. For scripts and bots, use a system user token with the 'Never' expiry.

How do I know how close I am to the limit?

Read the response headers: X-Business-Use-Case-Usage (call_count, total_cputime, total_time and estimated_time_to_regain_access in minutes) and X-Ad-Account-Usage (acc_id_util_pct, reset_time_duration).

What does error 17 with subcode 1885172 mean?

You changed the account spending limit more than 10 times in a day. Wait for the next day.

Does retrying immediately help?

Not with rate limits: repeated requests extend the block. Back off with a growing delay and check estimated_time_to_regain_access.

What does a negative error code mean?

It's an internal Meta error; the real cause is in error_subcode. Retrying after a while usually helps.

On this site

Sources

  1. Meta Marketing API: Error codes
  2. Meta Marketing API: Rate limiting
  3. Meta Graph API: Rate limits

All articles →