New TikTok Comment-to-DM is now on OnlySocialSend a DM to people who ask buying questions in your TikTok comments, automatically. See how it works
Instagram

Instagram Publishing Error Codes: Why Posts, Reels and Stories Fail and How to Fix Them

Instagram post, Reel, Story and carousel error codes explained, from 2207026 to 2207042, with the fix for each and when to retry, re-upload or reconnect.

On this page
  1. How Instagram Publishing Works
  2. How to Read a Publishing Error
  3. Quick Reference: Instagram Publishing Error Codes
  4. Download, Upload and Container Errors
    1. Code 9004, subcode 2207052: media could not be fetched
    2. Code -2, subcode 2207003: media download timed out
    3. Codes -2 / 2207020 and 24 / 2207008: expired container
    4. Code 9007, subcode 2207027: media not ready
    5. Codes -1 / 2207001, 2207032 and 2207053: server and upload errors
  5. Image Errors
  6. Video, Reel and Story Errors
  7. Caption and Carousel Errors
  8. Publishing Limits
  9. Account, Permission and Token Errors
  10. When to Retry, and When to Start Again
  11. Example: Tracing Three Failed Posts
  12. A Two-Minute Check Before You Schedule
  13. Prevention Checklist
  14. FAQ
    1. Why did my scheduled Instagram post fail?
    2. What does error 2207026 mean?
    3. What does “The aspect ratio is not supported” mean?
    4. What is error 2207042?
    5. What does “media is not ready for publishing” mean?
    6. Can a post fail on Instagram but publish elsewhere?
    7. How long does Instagram take to process a video?
    8. Does a failed post count towards the daily limit?
    9. Why does my carousel fail when each photo looks fine?
    10. Should I retry a failed Instagram post?
  15. The Short Version

A scheduled Instagram post that never goes live is one of the most frustrating things in social media management. The caption was ready, the image looked fine, and yet the post shows as failed with a message like “Media download has timed out” or “The aspect ratio is not supported.” Sometimes the next attempt works; sometimes it fails the same way every time.

Behind each failure is an error from Instagram’s Content Publishing API, the part of Meta’s Graph API that schedulers use to publish to professional accounts. The code and subcode tell you exactly what went wrong: the file could not be downloaded, the video was still processing, the caption broke a limit, the account hit its daily cap, or the account itself is restricted. This guide is for social media managers, agencies and developers. If your problem is with automated messages rather than posts, see our guide to Instagram API error codes for DM automation.

How Instagram Publishing Works

Publishing through the API takes three steps, and each has its own typical errors. Knowing which step failed is the fastest way to understand an error.

  1. Create a media container. The scheduler sends the caption, the media type and a public URL for each file. Instagram returns a container ID.
  2. Wait for processing. Instagram downloads and checks the media. The container’s status_code moves from IN_PROGRESS to FINISHED, or to ERROR.
  3. Publish. Once the container is FINISHED, the scheduler calls media_publish and Instagram returns the new post’s ID.

In a carousel, each slide is its own child container and every child must be ready before the parent can publish. Two timing rules matter: Meta recommends checking status about once a minute for no more than five minutes, and containers not published within 24 hours expire. That is why good schedulers create the container shortly before the slot, give videos time to finish, and only then publish, rather than doing all three at once.

The Instagram publishing flow and where errors happen
Figure 1. Step 1 errors mean the request or file breaks a rule; step 2 errors are about downloading and processing; step 3 errors are about timing, limits and the account.

How to Read a Publishing Error

Publishing errors use the standard Graph API format: a code, a subcode and a message. Here is what a scheduler receives when an image’s aspect ratio is out of range:

{
"error": {
"message": "The aspect ratio is not supported.",
"type": "OAuthException",
"code": 36003,
"error_subcode": 2207009,
"is_transient": false,
"error_user_title": "Cannot Use Image",
"fbtrace_id": "AbC1dEfGhIjKlMn"
}
}

For publishing, the subcode in the 2207000 range is the most useful field. error_user_title and error_user_msg are written for end users, so they are the best text to show a teammate or client, and fbtrace_id is what Meta support asks for. If a container fails during processing, there may be no call error at all: its status_code becomes ERROR and the subcode sits in its status field.

Quick Reference: Instagram Publishing Error Codes

This table lists the publishing errors Meta documents, with the fix for each. “Retry?” says whether the same request can work, needs a new container, or needs a change first.

Code Subcode Meaning Retry? What to do
-2 2207003 Media download timed out Yes Retry; host the file somewhere faster
-2 2207020 Media expired New container Create a new container and publish it
-1 2207001 Instagram server error Yes Retry after a short wait
-1 2207032 Failed to create media Yes Retry; if it repeats, new container
-1 2207053 Unknown upload error (video) New container New container; re-encode if it repeats
1 2207057 Thumbnail offset out of range After fix Pick a cover frame inside the video
4 2207051 Restricted activity, suspected spam No Stop and review recent activity
9 2207042 Maximum API posts reached for the day Tomorrow Wait for the 24-hour limit to free up
24 2207006 Media ID not found New container Check permission or token, then new container
24 2207008 Container expired or does not exist Briefly Retry once or twice, then new container
25 2207050 Account restricted, inactive or checkpointed No Log in to the Instagram app and clear it
100 2207023 Unknown media type After fix Use a supported media type
100 2207028 Wrong number of carousel items After fix At least 2 items, within the limit
100 2207035 to 2207037 Product tag problems After fix Fix or remove product tags
100 2207040 Too many @ tags After fix Use 20 or fewer
352 2207026 Video format not supported After fix MOV or MP4 with standard settings
9004 2207052 Media could not be fetched from the URL After fix Make the file public and directly reachable
9007 2207027 Media not ready to publish Yes, later Wait for status FINISHED
36000 2207004 Image too large After fix Keep images under 8 MB
36001 2207005 Image format not supported After fix Use JPEG
36003 2207009 Aspect ratio not supported After fix Crop to between 4:5 and 1.91:1
36004 2207010 Caption too long After fix 2,200 characters, fewer hashtags and tags
190 various Access token invalid or expired No Reconnect the account
10, 200 none Permission missing No Reconnect and approve publishing permissions

A few errors only appear with specific features. Codes 9050 to 9064 cover Reels published with licensed audio, for example when a track is not available; pick another track or use the video’s own sound. Product tag errors (100 with 2207035 to 2207037) mean invalid products, positions or media that cannot carry tags; check the catalog connection or publish without tags. Meta’s general list also includes 506 for duplicate posts.

Download, Upload and Container Errors

Instagram downloads your file from a URL, and many failures happen right there.

Code 9004, subcode 2207052: media could not be fetched

Instagram could not download the file. Usual causes: the URL needs a login, points to a preview page instead of the file, is a signed link that expired, or the server blocks Meta’s crawler. The URL must be public, HTTPS and return the raw file. Test it in a private browser window: if you see a web page or login screen, so does Instagram. Signed URLs should last long enough to cover processing and retries. Links from personal cloud folders, chat apps and file-sharing pages are the most common culprits, because they serve a page around the file rather than the file itself.

Code -2, subcode 2207003: media download timed out

Instagram gave up because the download took too long. Retry once; if it repeats, compress the file or serve it from fast storage or a CDN instead of a small shared server.

Codes -2 / 2207020 and 24 / 2207008: expired container

The container or its media is no longer available, usually because too long passed between creating and publishing it. For 2207008, Meta suggests retrying once or twice over 30 seconds to 2 minutes in case it is not visible yet. Otherwise create a new container and publish it promptly; schedulers should create containers shortly before the publishing time, not days ahead. Code 24 with 2207006 (media ID not found) can also mean a missing permission or expired token, so check the connection first.

Code 9007, subcode 2207027: media not ready

The publish call came while the container was still processing. Wait for FINISHED, checking about once a minute. Long Reels need more time than images; a smaller file processes faster.

Instagram media container status codes and what to do
Figure 2. Each status_code has one correct next step. Publishing before FINISHED returns 9007 with 2207027.

Codes -1 / 2207001, 2207032 and 2207053: server and upload errors

Temporary problems on Instagram’s side. Retry after a short wait with a growing delay. If 2207032 repeats, or 2207053 appears for a video, create a new container; if a video keeps failing, re-encode it as H.264 video with AAC audio in an MP4, which fixes most unusual codecs, variable frame rates and damaged metadata.

Image Errors

Image errors are fully preventable, because the rules are published. Meta’s Content Publishing documentation requires JPEG files no larger than 8 MB, with an aspect ratio between 4:5 and 1.91:1.

  • 36000 / 2207004, image too large: compress or resize under 8 MB. An image 1080 pixels wide already shows at full quality.
  • 36001 / 2207005, format not supported: convert PNG, WebP or HEIC to JPEG. Instagram checks the content, not the file extension.
  • 36003 / 2207009, aspect ratio not supported: a 9:16 phone screenshot fails as a feed post. Crop to 4:5, pad it into range, or publish it as a Story.
A quick image checkJPEG, under 8 MB, and width divided by height between 0.8 and 1.91. Those three checks prevent all three image errors.
Instagram API media requirements
Figure 3. The main media rules, with the error you get when each is broken. Your scheduler may apply stricter limits of its own.

Video, Reel and Story Errors

Videos must pass format, length, size and processing checks. Meta’s limits: Reels 3 seconds to 15 minutes and up to 300 MB; Story videos 3 to 60 seconds and up to 100 MB; carousel videos up to 60 seconds. Files must be MOV or MP4.

  • 352 / 2207026, video format not supported: export as MP4 or MOV with H.264 video, AAC audio and a constant frame rate. Screen recordings and some camera files are the usual cause.
  • 1 / 2207057, thumbnail offset out of range: the cover frame time must fall inside the video. Pick an earlier frame or upload a cover image.
  • Status ERROR after a long wait: read the subcode. Often it is a Reel under 3 seconds, a Story over 60 seconds or a file over the size limit.

Many video errors come from choosing the wrong type. A 90-second vertical video works as a Reel but not as a Story; a 9:16 image works as a Story but not as a feed post. Match each file to the type it fits before scheduling.

If you edit on a phone, export through the editing app’s standard or “Instagram” preset rather than sharing the raw project file. On a computer, a free converter set to H.264 and AAC fixes most format problems in a minute.

Choosing Post, Reel or Story in the OnlySocial composer
Figure 4. In OnlySocial, types that do not fit the media, such as Reel without a video, are disabled.

Caption and Carousel Errors

Text and carousel errors are caught when the container is created, so they fail fast.

36004 / 2207010, caption too long: the API allows 2,200 characters, 30 hashtags and 20 @ tags. Shorten the caption or move detail into the first comment. Instagram has been moving to fewer hashtags, and OnlySocial allows at most five in an Instagram post (Stories are not checked), catching the problem in the composer. 100 / 2207040 means more than 20 @ mentions; tag people on the image instead. The API also allows up to three collaborators and alt text up to 1,000 characters.

100 / 2207028, wrong number of carousel items: a carousel needs at least two items. Meta’s reference now allows up to 20, but this error’s text still says 10, and OnlySocial allows up to 10. One bad slide fails the whole carousel, and Reels cannot go inside one, so check every item on its own first.

Publishing Limits

9 / 2207042 means the account reached its daily API publishing limit. Meta documents 100 API-published posts per account in a rolling 24 hours, with a carousel counting as one. Developers can check usage with the content_publishing_limit endpoint. Few accounts post 100 times a day, so this error usually points to something else: a tool retrying the same post, two tools publishing to one account, or a bulk import that queued too much. Find the cause before waiting for tomorrow.

The window is rolling, not a calendar day, so posts free up 24 hours after each one was published. Because the limit applies to posts published through the API, an account can usually still post from the Instagram app while its scheduler is blocked.

Separately, codes 4, 17 and 613 mean too many API calls, usually from checking container status in a tight loop. Check once a minute and they go away.

Account, Permission and Token Errors

These stop every post for the account, so they need a person, not a retry.

  • 25 / 2207050, account restricted, inactive or checkpointed: log in to the Instagram app, complete any security checks and read any notices. Publishing usually resumes once the app works normally.
  • 4 / 2207051, suspected spam: stop publishing for a while and review recent posts for near-identical content in a short time.
  • 190, token invalid or expired: reconnect the account. Common causes are a password change, a security checkpoint or removed app access.
  • 10 or 200 to 299, permission missing: the token lacks publishing permission, often because the account was connected for messaging or analytics only. Reconnect and approve everything; with a Page connection, check the person’s Page role.

When you reconnect, use the same person who manages the account day to day, accept every permission on Meta’s screen, and for accounts connected through Facebook, check the account is still linked to the right Page. Agencies should ask clients to warn them before changing passwords, since every change breaks the connection until someone reconnects.

When to Retry, and When to Start Again

Every publishing error calls for one of five responses.

  1. Retry after a wait for temporary errors: -1 / 2207001, -2 / 2207003, 9007 / 2207027.
  2. Create a new container for expired or missing ones: -2 / 2207020, 24 / 2207008 after a couple of tries, -1 / 2207053.
  3. Fix, then create a new container for rule errors: 9004, 36000, 36001, 36003, 36004, 352, 2207028.
  4. Wait for the limit for 9 / 2207042, and slow down for 4, 17 and 613.
  5. Ask the owner to act for 190, permission errors, 25 / 2207050 and 4 / 2207051.
Five responses to a failed Instagram post
Figure 5. Only the first group is fixed by sending the same request again.

Never publish the same post twice. If media_publish times out, the post may be live even though your tool never heard back. Before retrying, check whether the container shows PUBLISHED or the post appears in the account’s recent media. Duplicates also count against the daily limit. For every failure, log the account, post, step, code, subcode, message, container ID and fbtrace_id.

Why the step mattersThe same error means different things at different steps. A timeout while creating a container is safe to retry; a timeout on media_publish may already have produced a live post. Logging which step failed is what lets a tool retry the first without risking a duplicate from the second.

Example: Tracing Three Failed Posts

Here is how the codes lead to the fix. A café schedules a 75-second vertical video for Friday at 8am as a Story, a carousel of six photos, and a feed post using a 9:16 menu graphic. All three fail.

The Story’s container ends in ERROR; its subcode points to the video, which is longer than the 60 seconds a Story allows. Republished as a Reel, it goes live. The carousel fails with 36001 / 2207005: two of the photos are HEIC files from an iPhone. Converted to JPEG, the carousel publishes. The menu post fails with 36003 / 2207009 because 9:16 is outside the feed range. Cropped to 4:5, it works, and the original goes up as a Story the same morning.

The following week a fourth post fails with code 190. The owner had changed the Instagram password on Tuesday. Reconnecting the account in the scheduler and pressing retry on that one account publishes it, and the other networks on the same post are left alone.

None of these needed a retry loop. Each subcode named the rule that was broken, and the fix was to change the file or the type and publish again.

A Two-Minute Check Before You Schedule

Most publishing errors can be caught before the post is ever queued. Run through this routine for every Instagram post, or build it into your team’s approval step.

  1. Pick the type first. Decide whether this is a feed post, a carousel, a Reel or a Story, then check the media fits that type rather than forcing the type to fit the media.
  2. Check each file. Images: JPEG, under 8 MB, 4:5 to 1.91:1. Videos: MP4 or MOV, inside the length and size limits for the type.
  3. Check the text. Caption under 2,200 characters, hashtags within your tool’s limit, no more than 20 mentions, collaborator usernames spelled correctly.
  4. Check the account. Make sure it shows as connected and that nobody has changed the password or been asked for a security check since it was connected.
  5. Leave time. Schedule large videos with time to spare so they finish processing, and avoid queuing dozens of near-identical posts in a short window.

Teams that publish for clients should make the check part of approval. A reviewer who looks at type, files, text and account status before approving stops most failures from reaching the schedule at all.

Fixing Failed Instagram Posts in OnlySocial

OnlySocial shows the network’s error for each account, lets you retry just the failed accounts, and catches many problems before scheduling.

  • Find failed posts. The posts list shows a Failed tab, Filters, then Publishing result, finds posts that failed on some accounts, and partly published posts show a score such as Published (2 of 3). Home also flags failed posts.
  • See why. Open the post’s Delivery tab for each account’s status and the network’s error in red.
  • Retry one account. Fix the cause, then click Retry next to the failed account. Accounts that already published are not touched, which prevents double posting.
  • Change and publish again. Failed posts cannot be edited; duplicate the post, fix the copy and schedule it, removing accounts that already published.
  • Catch problems early. The composer checks each post before scheduling: Instagram posts need media, a Reel needs exactly one video, and more than five hashtags is an error.

Home also warns when an account is disconnected, so a password change or expired connection shows up before the next scheduled post rather than after it fails.

Some OnlySocial messages map directly to Meta errors. “The account needs to be reconnected” covers code 190 and most permission errors. “The connection to the platform dropped while the media was being uploaded” is a download problem: try again, with a smaller file if it repeats. “The video in this post has finished processing, and a platform will not accept it as it is” means the video breaks a rule such as length or format: replace or trim it before the post is due.

Prevention Checklist

  • Images: JPEG, under 8 MB, 4:5 to 1.91:1.
  • Reels: MP4 or MOV, H.264 and AAC, 3 seconds to 15 minutes, under 300 MB.
  • Stories: one photo, or a 3 to 60 second video under 100 MB.
  • Carousels: at least 2 valid items, within your tool’s limit, no Reels.
  • Captions: under 2,200 characters, within your tool’s hashtag limit, 20 mentions at most.
  • Media links: public, HTTPS, fast, returning the file itself.
  • Leave large videos time to process, keep accounts connected, and check failed posts weekly for patterns.

FAQ

Why did my scheduled Instagram post fail?

Usually a file Instagram could not download or accept, a video still processing, a caption over the limits, an expired connection or an account restriction. The code and subcode on the failed post say which.

What does error 2207026 mean?

Code 352 with 2207026: the video format is not supported. Export as MP4 or MOV with H.264 video and AAC audio.

What does “The aspect ratio is not supported” mean?

Error 36003 with 2207009. Feed images must be between 4:5 and 1.91:1; crop or pad the image, or post it as a Story.

What is error 2207042?

Code 9 with 2207042: the account reached the 100 API posts Meta allows in 24 hours. Wait, and check no tool is publishing duplicates.

What does “media is not ready for publishing” mean?

Error 9007 with 2207027: the publish call came before processing finished. Wait for status FINISHED, then publish.

Can a post fail on Instagram but publish elsewhere?

Yes. Each network checks the post separately, so a 9:16 image can publish on TikTok or as a Story and still fail as an Instagram feed post. Retry or fix only the account that failed.

How long does Instagram take to process a video?

It depends on the file. Images are usually quick; long or large videos take longer. Meta recommends checking a container’s status about once a minute for up to five minutes, so leave large videos time before their slot.

Does a failed post count towards the daily limit?

The limit counts posts that were published through the API. Duplicates that did publish do count, which is why careless retries can push an account into error 2207042.

One slide is usually breaking a rule the others meet: a HEIC or PNG file, a slide outside the 4:5 to 1.91:1 range, or a video longer than 60 seconds. Every child container must succeed, so check each slide on its own, or split the carousel to find the one that fails.

Should I retry a failed Instagram post?

Only for temporary errors. Fix rule errors first, create a new container for expired ones, reconnect for account errors, and always check the post did not already publish.

The Short Version

Instagram publishing has three steps: create a container, wait for processing, publish. Find the step that failed, read the code and subcode, and choose one of five responses: retry, new container, fix the media or text, wait for the limit, or reconnect. Check files against Instagram’s rules before scheduling and never retry a publish without checking it did not already go live.

Schedule Instagram posts that actually publish. OnlySocial checks posts, Reels, Stories and carousels against each network’s rules before they are scheduled, shows the network’s error for every failed account, and lets you retry just the accounts that failed.

Read the Instagram marketing guide

Written by the OnlySocial team

We build OnlySocial, one workspace for social publishing, DM sales, link in bio pages and AI agents. Questions about this guide? Read the help and API docs or try it free.

Try it in your own workspace.

Everything in this guide works in OnlySocial. Connect your channels and your first posts can go out today.

Scroll to Top