---
title: "Instagram error codes"
description: "Troubleshooting Instagram Business/Creator setup, container polling, aspect ratio, and Carousel/Reel/Story errors."
---

> 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.

# Instagram error codes

Instagram publishing uses Meta's two-step media container workflow. PubNio
manages container creation and status polling asynchronously on Cloudflare
Workflows and returns typed errors when prerequisites or media specs fail.

## Common Instagram errors

| Code / Symptom                                       | Retryable       | Cause                                                                                                      | How to fix                                                                                                                                            |
| ---------------------------------------------------- | --------------- | ---------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| `account_not_ready`                                  | After reconnect | Instagram OAuth token expired or the account was switched back to a Personal account.                      | Ensure the account is a **Business** or **Creator** profile linked to a Facebook Page, then reconnect in PubNio.                                      |
| `media_required`                                     | No              | Instagram does not allow text-only posts.                                                                  | Attach at least one ready image or video `mediaId`.                                                                                                   |
| `media_count`                                        | No              | Carousel submitted with fewer than 2 or more than 10 items, or multiple items on a single-media placement. | Pass 2–10 items for `carousel`, or 1 item for `feed`, `reel`, or `story`.                                                                             |
| `media_mime_type` / `media_too_large`                | No              | Unsupported format (such as WebP/AVIF) or video exceeding Instagram Reel limits.                           | Use JPEG/PNG for images and H.264 MP4 with AAC audio for Reels and Stories.                                                                           |
| Meta container error `9007` (Media ID not available) | Yes             | Meta's async video processor had not finished before publish.                                              | PubNio retries container polling automatically; if the attempt settles to `failed`, verify the video codec and aspect ratio (9:16 for Reels/Stories). |
| Meta daily publish cap (100 posts / 24h)             | Later           | Instagram Graph API enforces a rolling 24-hour cap per account.                                            | Use PubNio weekly queues with daily posting caps to smooth delivery.                                                                                  |

## Related

- [Instagram Business & Creator setup guide](https://pubnio.com/docs/guides/instagram-business-setup/)
- [Instagram Publishing API](https://pubnio.com/platforms/instagram)
- [All PubNio error codes](https://pubnio.com/docs/errors/)

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