Meta error (#10): "Application does not have permission for this action"

Code 10 is the permission code, but the same sentence covers an app-level access tier, a permission missing from one token, an account rule and two Instagram Story limits. Each has a different fix.

Start free →

Made with Hermoso

Meta's error handling guide lists code 10 as "API Permission Denied". In practice it is the most over-read code in the Graph API. Integrations tell the user to reconnect, the user reconnects, and the next call fails the same way. Sort it by cause first.

The exact error

{
  "error": {
    "message": "Application does not have permission for this action",
    "type": "OAuthException",
    "code": 10
  }
}

Some variants add an error_subcode and an error_user_msg. Others carry a different sentence after (#10). Those extra fields decide which cause you have.

What it means

Meta refused the action for one of four reasons:

  • The app's access tier. The permission is at Standard Access. Meta: "Permissions with Standard Access can only be requested from app users who have a role on the requesting app." It works for your team and fails for every customer. Our Meta App Review guide covers the fix.
  • This token lacks the permission. The app holds it, but this user connected before it was added, or switched it off on Meta's consent screen.
  • An account rule. The account or asset does not qualify. Meta says so in error_user_msg. The measured example is a trial reel on a small account: "The Instagram account does not meet the trial reel follower requirement to create trial reels." See the trial reel error page.
  • An Instagram Story limit. Two code 10 sentences are about Stories, not permissions. "(#10) Not enough viewers for the media to show insights" means fewer than five people have seen the Story. "Comments cannot be made on story media" means you asked for comments on a Story, which has none: Story replies arrive as direct messages.

Why it happens

Meta uses one code for "your app may not do this" and "this account cannot do this". The difference lives in the other fields. Reading only code merges all four causes, and the reconnect advice that fits one of them fails the other three. An app-tier problem is the most dangerous, because it passes every test you run: everyone testing holds a role on the app.

How to fix it

  1. Read error_user_msg. If it is present, it is the answer. Show it to the user as written.
  2. Check the message text for the two Story sentences. For "Not enough viewers", report the numbers as not yet available rather than zero. For Story comments, read the conversation inbox instead.
  3. Call GET /{app-id}/permissions with an app token and check the permission's tier. If it is not at Advanced Access, only App Review changes that. Reconnecting will not.
  4. Call GET /me/permissions with the user's token. If the permission is missing or declined, have the user reconnect and leave it switched on.
  5. If the permission is granted on both sides, check the user's role on the Page, business or ad account involved. That role is assigned in Business Settings, not at login.

How Hermoso handles it

Hermoso holds the approved Meta app, so customers connect their own Pages, Instagram accounts and ad accounts with a normal sign-in. When Meta answers code 10, Hermoso checks the causes in order. A user-facing sentence from Meta is shown as written, with the connection declared fine and no reconnect advice. The two Story sentences get their own plain answers: Story numbers are unknown until five people have seen it, and Story replies are in the inbox.

For a genuine permission refusal, Hermoso reads three things: the app's live access tier from Meta, the permissions this connection's token actually carries, and the permissions requested when you connected. If the app is approved and your token lacks the permission, the answer is to reconnect, and Hermoso says that reconnecting is the whole fix. If the capability is not approved for Hermoso yet, it says so and says reconnecting will not change it. If everything is granted, it points at the role on the Page, business or ad account. Every refusal carries Meta's original sentence, so nothing is hidden behind the summary.

Related

Every platform error we have documented is on the error reference. For app reviews and access levels, see how to get API access.

Sources

Frequently asked questions

Why does my Meta app work for me but return error 10 for customers?

The permission is probably at Standard Access, which only serves people with a role on your app. Customers need Advanced Access, which comes through App Review.

Will reconnecting fix error 10?

Only when the token lacks a permission that the app already holds at Advanced Access. It does not fix an app tier, an account rule or a Story limit.

What does "(#10) Not enough viewers for the media to show insights" mean?

The Story has fewer than five viewers, so Meta withholds its numbers. They are unknown, not zero, and appear once enough people have seen it.

How do I check which permissions a token has?

Call GET /me/permissions with the user's token. Each permission comes back as granted or declined.

Skip the error hunting: connect your accounts to Hermoso free, no card.

Start free →   See pricing