---
title: "Instagram container status ERROR"
description: "Instagram container status ERROR. The cause, the fix, whether a retry is safe, and the PubNio delivery issue it settles."
---

> 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 container status ERROR

Instagram container status ERROR: The container failed to complete the publishing process. PubNio fails the target with `media_preparation_failed`. Checked 2026-12-05.

## Exact error

`status_code`: `ERROR`; HTTP 200.

```json
{
  "id": "17890000000000000",
  "status_code": "ERROR"
}
```

Returned by GET `/{ig-container-id}?fields=status_code`.

## Cause

Meta could not process the media: an unsupported codec, a video outside Reel or Story duration and size limits, an aspect ratio Instagram refuses, or a media URL Meta could not download. The container's status field holds the error subcode.

## Fix

Read the container's status field for the subcode, then fix the media: H.264 or HEVC video with AAC audio in MP4 or MOV, JPEG images, and a URL Meta can download. Create the post again with the corrected media; retry the same target only when the cause was a download that has since recovered.

## Retry safety

Yes, after fixing the media: nothing was published, and a retry builds a new container.

## PubNio issue

- On a publish: `media_preparation_failed`, status `failed`.

## Observed

Replayed through the adapter in `packages/core/test/provider-error-catalog.test.ts`.

## Limits

Another Instagram endpoint can return ERROR for another reason.

## Sources

- [Instagram (IG) Container](https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-container), checked 2026-12-05
- PubNio: `packages/core/src/integration/providers/instagram-publish.ts#containerState`, `packages/core/src/post/instagram-delivery.ts#instagramContainersReady`

## Related

- [Instagram error codes](https://pubnio.com/docs/errors/instagram/)
- [Every provider error code](https://pubnio.com/docs/errors/providers/)

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