---
title: "Facebook Pages error codes"
description: "Troubleshooting Meta Graph API permissions, token expiry, Reel, and Story publishing errors on Facebook Pages."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Facebook Pages error codes

Facebook Pages publishing runs over the Meta Graph API for Feed posts, Reels,
and Stories. PubNio catches most permission and media problems during preflight
(`POST /api/v1/posts/{postId}/validate`) before calling Meta.

## Common Facebook Pages errors

| Code / Symptom                        | Retryable       | Cause                                                                                                 | How to fix                                                                                                    |
| ------------------------------------- | --------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
| `account_not_ready`                   | After reconnect | Page OAuth token expired, password changed, or user removed PubNio in Facebook Business Integrations. | Reconnect the Facebook Page in the PubNio workspace and retry the target.                                     |
| `publish_permission_required`         | After reconnect | `pages_manage_posts` or `pages_read_engagement` was unchecked during Meta OAuth consent.              | Re-authorize the Page and grant publish scopes for the target Page.                                           |
| `media_required`                      | No              | `reel` or `story` placement submitted without video/image media.                                      | Import the media asset via `POST /api/v1/media/import` and attach its `mediaId`.                              |
| `media_type` / `media_mime_type`      | No              | Video codec or container unsupported by Meta Graph Reels/Stories.                                     | Encode video as H.264 MP4 (`video/mp4`) with AAC audio.                                                       |
| Meta Graph subcode `368` / spam block | No              | Facebook temporarily blocked automated posting for policy or velocity reasons.                        | Reduce posting frequency, review Page quality status in Meta Business Suite, and wait for the block to clear. |
| `unresolved`                          | Check first     | Meta accepted the upload but timed out before returning the final permalink.                          | Check `GET /api/v1/posts/{postId}` and the Page feed before retrying to avoid duplicates.                     |

## Related

- [All PubNio error codes](https://pubnio.com/docs/errors/)
- [Facebook Pages Publishing API](https://pubnio.com/platforms/facebook)
- [Accounts and connections](https://pubnio.com/docs/accounts/)

Source: https://pubnio.com/docs/errors/facebook/index.mdx
