Skip to content

Instagram error 25 with subcode 2207050: Instagram account is restricted

Instagram error 25 with subcode 2207050: Instagram account is restricted. The cause, the fix, whether a retry is safe, and the PubNio delivery issue it settles.

Instagram error 25 with subcode 2207050 is “Instagram account is restricted”. The professional account is inactive, checkpointed, or restricted. A publish that gets it stays unresolved with submission_uncertain. Checked 2026-12-05.

Exact error

error.code: 25, error.error_subcode: 2207050; HTTP 400.

{
  "error": {
    "type": "OAuthException",
    "code": 25,
    "error_subcode": 2207050
  }
}

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

Cause

Instagram put the account behind a checkpoint, such as a login challenge, an identity check, or a policy restriction, and blocks API publishing until the owner clears it.

Fix

Have the account owner sign in to the Instagram app and complete every prompt it shows. Then reconcile the target and publish again.

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