Threads 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 /{threads-user-id}/threads_publish.
Cause
Meta meters Threads calls per pairing of app and Threads profile across a rolling 24-hour window, sized at 4,800 calls times the profile’s impressions (never fewer than 10 impressions). Analytics, replies, and mentions sync for this profile draw on that pool alongside threads_publish, so a profile whose posts reach few viewers runs dry first.
Fix
The profile itself needs no change. Meta’s X-Business-Use-Case-Usage header gives estimated_time_to_regain_access in minutes, and PubNio holds its next try for exactly that long when the wait fits inside its automatic-retry window. A longer stated wait ends the target as failed with that wait in nextAction; call posts.retry once it passes.
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, statusfailed, 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 Threads endpoint can return 4 for another reason.
Sources
- Graph API: Rate limiting, checked 2026-12-05
- PubNio:
packages/core/src/integration/providers/threads-adapter.ts#threadsAdapter,packages/core/src/integration/provider-errors/mappings.ts#publishRateLimited,packages/core/src/post/delivery-store.ts#automaticRetryDelayMs