Guides / Troubleshooting

X Media Upload Failed: Why Images and Video Won't Post

When X says a media upload failed, the file, your connection, the app session or the account connection behind your tool is failing. Test the same file on X web, then work through format, network and permissions in that order.

Quick steps

  1. Test the file elsewhere. Post the same image or video from X on a laptop. If it works there, the problem is your phone app or network, not the file.
  2. Try a text-only post. If text also fails, you have a general posting problem, not a media one. Fix that first before touching the file.
  3. Compare against X's media rules. Check the file type, size, dimensions, length and item count against the current rules in X's help centre.
  4. Re-export the file. Save images as JPEG or PNG and video as a standard MP4 (H.264 video, AAC audio), then attach only one file.
  5. Reset the app and network. Force-quit and update the app, try a private window or second browser, switch Wi-Fi and mobile data, and turn off any VPN.
  6. Reconnect your tool or API access. If a tool posts for you, check the error code, reconnect through the official X sign-in, wait out any 429 and check for duplicate text.

Start by working out which part failed

An X media upload failure means the image or video did not finish transferring, so the post cannot be created with it attached. The message wording varies by app, but the cause nearly always falls into one of four buckets: the file itself, your connection, the X app or login session, or, if you post through a tool or the API, the permissions and limits on that connection. The fastest test is to post the same file from the X website on a laptop. If it works there, your phone app or network is the problem. If it fails everywhere, suspect the file.

Also separate a media failure from a general posting failure. Try a text-only post first. If that fails too, you have a broader problem, and the guide on X saying a post failed to send covers it. If text goes through and only posts with images or video fail, stay on this page, because the fixes below target the upload step specifically.

Check format, size and length against X's media rules

X sets limits on file type, file size, image dimensions, video length and the number of items per post. Those figures change over time and can differ by account type and by where you upload from, so this page does not quote exact numbers. Open X's current media rules in its help centre and compare your file against them. Treat that page as the source of truth, not a blog post, including this one.

As a general guide, images are normally accepted as JPEG, PNG or GIF, and video as MP4 or MOV. Screen recordings, exports from editing apps with unusual codecs, and variable frame rate clips are common reasons a video reaches the end of the progress bar and then fails. Re-exporting as a standard MP4 with H.264 video and AAC audio is a sensible default, but confirm it against X's rules before relying on it.

Also check what you attach together. A post generally takes a set of images, or a GIF, or a video, rather than a mix of all three, and the count per type is capped. If you attached several files, remove all but one and retry to find the culprit. A very large, very long or very high resolution file is the usual suspect, so compress or trim it before the next attempt.

Fix it in the app or on web

Work from the cheapest fix to the most disruptive. Close the composer, force-quit the app, reopen it and attach the file again. Update the X app, since outdated versions can fail against newer upload systems. On web, do a hard refresh, then try a private window with extensions disabled, because ad blockers and privacy extensions sometimes block upload requests. If that fails, try a second browser.

Look at where the file lives. If your phone stores photos in the cloud and only keeps a placeholder, the upload can stall while the original downloads. Open the file fully first, or save a copy to the device, then attach that copy. You can also take a screenshot of an image or re-save it, which rewrites the file and removes a damaged header or odd metadata that X may reject even though your gallery opens it fine.

If none of that works, log out and back in to refresh the session. Clearing the app cache on Android, or reinstalling on iPhone, is the last resort. Copy any unsent drafts somewhere safe first, because local drafts may not survive a reinstall.

Rule out connection and X-side problems

Large video uploads are the first thing to break on a weak connection. Switch between mobile data and Wi-Fi, and turn off any VPN, which can change your apparent region, slow the transfer or get blocked. Work and school networks sometimes filter large uploads, so retrying from a different network is the quickest test. Avoid hammering the button: several rapid retries rarely help and can leave you with confusing half-finished attempts.

Check whether X itself is having trouble. Look for outage reports on third-party status sites and ask someone else whether their uploads work. If many people see failures at the same moment, waiting beats changing settings. Finally, look at your account: a locked, limited or unverified account can block posting. Check your notifications and email for any lock, verification prompt or policy notice from X, and resolve that before you retry the upload.

If you post through a tool or the API

Tools and the API usually upload media in its own request, then attach it to the post. That is why a post with perfectly good text can still fail: the media step went wrong first. Look at your tool's error log or API response to see which call returned the error, because the fix depends on it.

Status codes give strong hints. A 401 or 403 that appears after things previously worked usually means the access token was revoked or expired, so reconnect the account through the official X sign-in and make sure write permission is granted. The guide on the X API 403 forbidden error when posting goes deeper. A 429 means you are rate limited. Reported create-post limits are about 100 per 15 minutes per user and 10,000 per 24 hours per app, but confirm current limits in X's developer documentation.

A 403 can also mean X rejected duplicate text. If an earlier attempt half-succeeded and you resend identical wording, you may hit it, and the fix is in the guide on the X duplicate content error. If you use your own API keys, note that the X API has reportedly been pay-per-use with prepaid credits since 6 February 2026, so check your balance and plan in the developer portal and confirm the details there.

When a scheduled post with media fails

A scheduled post can fail at publish time even though it looked fine when you queued it. Open your scheduled posts and drafts, confirm the attachment still shows, and delete and re-add the media if it looks blank or greyed out. Check that you are logged in to the right account and that the time zone is what you expect. The guide on a scheduled post not posting on X lists the other common causes.

If a scheduled item keeps failing, copy the text, delete it and recreate it with a freshly exported file. Native scheduling is reported to work from the composer on web and in the mobile apps, but features and limits shift, so confirm what your account offers on X before building a routine around it.

If the images come from AutoPostMode

Be clear about what the product is. AutoPostMode is an autopilot, not a scheduler for posts you write and upload yourself. It researches fresh articles from the last 24 hours in up to five niches you choose, writes a separate post for each network in your tone, designs an image card, PDF carousel or short video, then publishes at your times. You do not upload your own files, so a media problem there usually comes down to the generated card or the account connection.

It starts in Approve mode, so you can review each post and its card before it goes out, edit the draft, or skip it. You can also turn cards off for text-only posts, which is a quick way to tell whether the card is the issue. Failed, skipped or rejected posts cost no credits, since credits are used only when X confirms the post is live. If X revokes access, reconnect through the official X sign-in. AutoPostMode never sees your password.

If what you need is to upload your own photos or videos and queue them, X's native scheduler is the better fit. The guide on how to schedule posts on X walks through it.

Questions

What is the maximum image or video size on X?
The limits depend on file type, account type and where you upload, and X changes them over time, so this guide gives no exact figures. Check X's current media rules in its help centre. As a general rule, a smaller file, a standard format such as JPEG, PNG or MP4, and a single attachment are the least likely to fail.

Why does my video upload reach 100% and then fail?
The transfer finished but X could not process the file. Common reasons are an unusual codec or container, a clip that is too long or too large for your account, or a dropped connection near the end. Re-export as a standard MP4 with H.264 video and AAC audio, trim it, and confirm the limits in X's media rules.

Can I attach images and a video to the same post?
Generally X lets a post carry a set of images, a GIF or a video, not a mix, and each type has its own count limit. If an upload fails, remove everything except one file and retry. Check X's media rules for the current limits, as they can change.

Does AutoPostMode let me upload my own images and videos?
No. It is an autopilot that researches articles, writes posts and designs its own image card, carousel or short video, then publishes at your times. It is not a scheduler for posts you write yourself. For your own media, use X's native scheduling or a scheduler built for that.

Do failed posts use up my AutoPostMode credits?
No. Credits are used only when X confirms the post is live, so failed, skipped or rejected posts are free. A normal X post uses 1 credit and a post containing a link uses 12. If failures repeat, reconnect your X account through the official sign-in.

Facts and prices checked 30 November 2026. Platform rules and vendor plans change, so confirm on the platform or vendor site before you rely on a limit or price.

Disclosure: AutoPostMode is our product. More guides: X 'Post Failed to Send' or 'Something Went Wrong': Causes and Fixes, LinkedIn Image or PDF Will Not Upload: What to Check, Scheduled Post Not Posting on X? Diagnose It Step by Step, Scheduler Says Your X Account Is Disconnected: How to Reconnect, X API 403 Forbidden when creating a post: how to fix it. All troubleshooting.

Try it on your own account

3-day free trial on 1 X account.

Start your free trial