Facebook error 10 is “API Permission Denied”. Permission is not granted or has been removed. A publish that gets it fails with provider_rejected. Checked 2026-12-05.
Exact error
error.code: 10; HTTP 400 or 403.
{
"error": {
"type": "OAuthException",
"code": 10
}
}Returned by POST /{page-id}/feed, POST /{page-id}/photos, POST /{page-id}/videos, POST /{page-id}/video_reels, POST /{object-id}/comments, POST /{page-id}/subscribed_apps.
Cause
The Page token lacks a permission the call needs, or the Page admin removed it after connecting. On a Page inbox subscription it usually means the app has no approved pages_messaging access, so Meta refuses the messages field.
Fix
Reconnect the Facebook Page in PubNio and grant every permission the consent screen asks for. If the Page role changed, have a Page admin reconnect. For messages, the Meta app needs approved pages_messaging access first.
Retry safety
Yes, once the cause is fixed: the provider created nothing, and an unchanged resend fails again.
PubNio issue
- On a publish:
provider_rejected, statusfailed. - On the Page inbox subscription, PubNio keeps comments and drops the messages field instead of failing the connection.
Observed
Replayed through the adapter in packages/core/test/provider-error-catalog.test.ts.
Limits
Another Facebook endpoint can return 10 for another reason.
Sources
- Graph API: Handling errors, checked 2026-12-05
- PubNio:
packages/core/src/integration/providers/facebook-publish.ts#knownRejection,packages/core/src/integration/provider-errors/mappings.ts#metaPublishRejected,packages/core/src/post/delivery-store.ts#settleSubmission