Skip to content

Facebook error 4: Application request limit reached

Facebook error 4: Application request limit reached. The cause, the fix, whether a retry is safe, and the PubNio delivery issue it settles.

Facebook error 4 is “Application request limit reached”. The app whose token made the request reached its rate limit. A publish that gets it fails the try with provider_rate_limited, and PubNio retries it automatically. Checked 2026-12-05.

Exact error

error.code: 4; HTTP status not stated by Meta.

{
  "error": {
    "type": "OAuthException",
    "code": 4
  }
}

Returned by POST /{page-id}/feed, POST /{page-id}/photos, POST /{page-id}/videos, POST /{page-id}/video_reels, POST /{page-id}/video_stories, POST /{page-id}/photo_stories.

Cause

Meta counts Graph calls per app across every Page and person the app serves, over a rolling hour. PubNio’s Meta app crossed that budget, so the limit says nothing about this Page’s own activity. Publishing for every connected Page shares that one allowance, which Meta sizes by how many people use the app daily.

Fix

Nothing on the Page needs to change. PubNio sends the post again by itself after a wait; if the target still fails after its automatic retries, retry it with posts.retry once the hour rolls over. Watch the X-App-Usage header on Graph responses: call_count near 100 means the app is close to the cap.

Retry safety

Yes: the provider created nothing. PubNio retries up to three times, after the wait the provider names or a growing backoff, and never when the provider asks for more than an hour.

PubNio issue

  • On a publish: provider_rate_limited, status failed, and PubNio schedules a replacement attempt.

Observed

Replayed through the adapter in packages/core/test/provider-error-catalog.test.ts and packages/core/test/publish-classification.test.ts.

Limits

Another Facebook endpoint can return 4 for another reason.

Sources

  • Graph API: Rate limiting, checked 2026-12-05
  • PubNio: packages/core/src/integration/providers/meta.ts#metaThrottleBody, packages/core/src/integration/provider-errors/mappings.ts#publishRateLimited, packages/core/src/post/delivery-store.ts#automaticRetryDelayMs

Type to search…

↑↓ navigate↵ selectEsc close