Skip to content

Instagram error 24 with subcode 2207008: Media builder does not exist or has expired

Instagram error 24 with subcode 2207008: Media builder does not exist or has expired. The cause, the fix, whether a retry is safe, and the PubNio delivery issue it settles.

Instagram error 24 with subcode 2207008 is “Media builder does not exist or has expired”. A temporary error publishing a container: retry once or twice within two minutes, then create a new container. A publish that gets it stays unresolved with submission_uncertain. Checked 2026-12-05.

Exact error

error.code: 24, error.error_subcode: 2207008; HTTP 400.

{
  "error": {
    "type": "OAuthException",
    "code": 24,
    "error_subcode": 2207008
  }
}

Returned by POST /{ig-user-id}/media_publish.

Cause

Meta could not find the creation_id at publish time, either briefly during processing or because the container passed its 24-hour life.

Fix

Reconcile the target first, since a retry that Meta accepted may already be live. If nothing published, retry with a newly created container.

Retry safety

Not blindly: the post may exist. Reconcile first and send again only if no post turned up.

PubNio issue

  • On a publish: submission_uncertain, status unresolved.
  • With HTTP 401 or 403, the status alone settles it as an auth or permission rejection: provider_rejected.
  • No adapter maps this code; this is the default.

Observed

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

Limits

Another Instagram endpoint can return 24 for another reason.

Sources

  • Instagram Platform error codes, checked 2026-12-05
  • PubNio: packages/core/src/integration/providers/instagram-publish.ts#writeRejected, packages/core/src/post/instagram-delivery.ts#stageInstagramContainer, packages/core/src/post/delivery-store.ts#settleSubmission

Type to search…

↑↓ navigate↵ selectEsc close