Facebook Ads Insights API Error: Missing Capability?

Kaptek
Updated 21 hours ago in

I’m trying to fetch data from the Facebook Ads Insights API, but every request returns the following error:

{
  "error": {
    "message": "(#3) Application does not have the capability to make this API call",
    "type": "OAuthException",
    "code": 3
  }
}
 

The app has a valid access token, and I can successfully make requests to other Facebook Graph API endpoints.

Example request:

GET https://graph.facebook.com/v2.8/act_<AD_ACCOUNT_ID>/insights
  ?fields=impressions,clicks,spend
  &access_token=<ACCESS_TOKEN>
 

Has anyone encountered this issue with the Insights API specifically?

I’m wondering if this is related to:

  • Missing app permissions
  • App review requirements
  • Ads API access approval
  • Business Manager configuration

What was the actual fix in your case?

  • 2
  • 15
  • 21 hours ago
 
5 hours ago

The most common cause of this error is that the app doesn’t have the required Marketing API permissions or access level, even if the access token itself is valid.

If you’re calling the Insights endpoint directly, make sure to check:

  • The app is in Live Mode (not Development Mode).

  • The access token includes ads_read or ads_management permissions.

  • The user associated with the token has access to the ad account.

  • The app has been granted access to the Marketing API if required.

  • The ad account is linked to the correct Business Manager.

A quick way to troubleshoot is to use Facebook’s Access Token Debugger and verify that the token contains the necessary ad-related permissions. I’ve seen many cases where other Graph API endpoints work fine, but the Insights endpoint fails because the app lacks Ads API capabilities specifically.

I’d also try a simple test request against the ad account endpoint first before calling /insights to confirm that the issue is permission-related rather than an account access issue.

  • Liked by
Reply
Cancel
5 hours ago

This error usually means the issue is not with the access token itself, but with the app’s permissions and Ads API access level.

A few things I’d check:

  1. Ads API Access

    • Ensure the app has been approved for the Marketing API/Ads API.

    • Some endpoints, including Insights, require specific access levels that aren’t available to all apps.

  2. Permissions

    • Verify the token includes the required permissions such as:

      • ads_read

      • ads_management (if applicable)

    • Re-generate the token after granting permissions.

  3. App Mode

    • If the app is in Development Mode, it can only access ad accounts belonging to app admins, developers, or testers.

    • For production accounts, the app may need to be switched to Live Mode.

  4. Business Manager Access

    • Confirm the user generating the token has access to the ad account and that the app is associated with the correct Business Manager.

  5. Token Validation

    • Use Facebook’s Access Token Debugger to verify:

      • Token validity

      • Granted permissions

      • User and app association

In many cases, I’ve seen this error resolved by moving the app to Live Mode and ensuring the token has the proper ads_read permission. If you can share the Graph API version and app setup details, it would help narrow down the root cause.

  • Liked by
Reply
Cancel
Loading more replies