“Your Media Is Invalid” in Meta Ads: Causes and Fixes

Why Meta Ads says your media is invalid: file type, size, width, video length, processing or a format your objective can’t use, and how to fix each one.

Illustration: an ad picture marked invalid next to a checklist for file type, size, width and video length (sample data)

“Your media is invalid” means Meta won’t accept the picture or video in your ad as it is. Usually the file is the wrong type, too big, too narrow or too short for a placement, a video hasn’t finished processing, or the ad format doesn’t suit your objective. Upload a fresh JPG, PNG, MP4 or MOV that fits your placements, wait for videos to finish processing, and publish again.

Meta’s help centre has no page for this exact wording, so this guide works from Meta’s own pages on failed image and video uploads, its video formats and lengths, and the checks its developer tools run on media. Each cause below comes with a fix, as of December 2026.

Key takeaways

  • Meta recommends JPG or PNG for images (up to 30 MB) and MP4, MOV or GIF for videos (up to 4 GB).
  • Meta checks media per placement: a file can be fine for feeds and too narrow or too long for Stories or in-stream.
  • A new video must finish processing at Meta before an ad can use it. Wait, then try again.
  • Collection and instant experience formats don’t work with messaging apps as the conversion location. Use an image, video or carousel.
  • In Automate AI and other tools that upload through Meta’s API, pictures and videos are stored in one ad account, so upload them again after you switch accounts.

What “your media is invalid” means

Every ad that shows a picture or video refers to a file stored in your ad account. When Meta checks the ad, it also checks that file: the type, the size, the width and, for videos, the length and whether processing has finished. When media is checked against the placements in your ad and fails for one of them, Meta can refuse it, and you may see an error such as “your media is invalid”.

Meta’s developer page on media validation shows how detailed this is. It checks each image or video against each placement and returns plain messages, for example that “the width of the media in the ad is too low” with the advice to use a different media, or that a video is too short. The same file can pass for Facebook Feed and fail for Facebook Stories, where Meta says photos and videos must be wider than 500 pixels.

This is not a rejection. A rejected ad was made and then failed Meta’s review of its content. A media error stops the ad being made at all. If your ad was made and then rejected, see Click-to-WhatsApp ad rejected instead.

Causes and fixes at a glance

Likely causeHow to spot itFix
Unusual file typeA HEIC or WEBP picture, or a video in an uncommon formatExport as JPG or PNG, or MP4 or MOV
File too bigAn image over 30 MB or a video over 4 GBCompress or shorten it
Too narrow or too smallA cropped screenshot, a thumbnail or a narrow stripUse a file at least 600 px wide; Facebook Stories need over 500 px
Video too long or too short for a placementThe error appears only with some placementsTrim it, or use a shorter cut for those placements
Video still processingYou uploaded it a moment agoWait a few minutes, then publish again
Format doesn’t suit the objectiveA collection or instant experience on an ad that opens chatsSwitch to an image, video or carousel
Media from another ad account (API tools)In a tool such as Automate AI, you switched or copied to a new ad accountUpload the file again in the new ad account
Broken uploadSlow connection, old browser, or the file stopped halfwayUpdate the browser, use a better connection, try again

If the error came with other messages, such as a WhatsApp number not linked or a spending limit, it’s a different problem: see Meta ad errors when you publish.

File type and file size

Meta says most file types are supported, but it recommends PNG or JPG for images and MP4, MOV or GIF for videos. Its list of accepted video formats is long, including AVI, MKV, WMV and 3GP, but the safest choice is still an MP4 with H.264 video and AAC audio.

ImagesVideos
Recommended typesJPG or PNGMP4, MOV or GIF
Maximum file size30 MB4 GB
Minimum width Meta suggests600 px600 px
Watch out forPNG files over 1 MB can look pixelatedLength limits differ by placement

Files from phones and the web are worth checking first. A photo saved as HEIC or an image downloaded as WEBP isn’t one of the types Meta recommends, and a video trimmed inside a phone app may carry edit lists, which Meta’s Ads Guide says video files shouldn’t contain. Open the file in an editor and export a new copy as JPG or MP4, rather than renaming the file extension, which doesn’t change what’s inside.

Width, ratio and placement checks

Meta’s troubleshooting pages say the most common reason images and videos don’t render correctly, looking blurry or pixelated, is size: the file must be large enough for the placement you chose. Separately, its placement checks can refuse media that is too narrow, as above.

  1. Check the pixel size. Right-click the file on a computer and look at its dimensions. Anything under 600 pixels wide is too small for most ads.
  2. Look at which placements the ad uses. With Advantage+ placements the ad can show in feeds, Stories and Reels, and the file is checked for each one.
  3. Use the ratio each placement expects. Meta recommends 4:5 for feed images and 9:16 for Stories and Reels. Exact sizes for each placement are in our WhatsApp ad size guide.
  4. Preview every placement in Ads Manager before you publish. Meta suggests this to catch media that doesn’t render well.

Meta also notes that on Facebook Feed on a computer, videos show at 1:1, so a tall video can get black bars at the sides. That isn’t an error, but it’s worth knowing when you check previews. How placements work is explained in Meta ads placements.

Video length, processing and upload failures

Video has more ways to fail than pictures. Meta’s help page lists the longest video each placement allows:

PlacementVideo length Meta allows
Facebook Feed and MarketplaceUp to 241 minutes
Facebook in-stream video5 seconds to 10 minutes
Instagram Feed, Stories and ExploreUp to 60 minutes
WhatsApp StatusUp to 60 minutes
Audience Network rewarded video3 to 61 seconds

Facebook Stories allows much less than the feeds, and Meta’s pages give different figures for it, so keep Stories videos short. A video that’s too short can fail too: Meta’s validation includes a check for videos below the minimum length.

Wait for processing

After an upload, Meta processes the video: its developer guide says this step makes the other encodings and thumbnails needed to publish it. Until it finishes, the video’s status is processing, not ready, so wait for ready before you publish. Meta’s statuses also include error and expired: if you see either, upload the video again.

When the upload itself fails

Meta’s checklist for failed uploads covers your Page role (you need one that can run ads), an up-to-date browser, a strong internet connection, and whether the file is already in your account’s images or videos, so you can pick it instead of uploading again. If a video still won’t upload in Ads Manager, Meta suggests uploading it to the Meta Media Library first, then choosing it in the ad.

Ad format and objective don’t match

Sometimes the media is fine and the format is the problem. Meta’s help page for error code 1815159 explains that not every ad format works with every objective, conversion location and performance goal. Two of its examples matter for ads that open chats:

  • Collection and instant experience formats aren’t available for many conversion locations, including messaging apps, instant forms, calls, Facebook Pages and Facebook groups.
  • The video views engagement type supports only the video format.

Meta says image and video formats work with every objective and setting. So if an ad that opens WhatsApp fails on its media, switching a collection or instant experience to a single image, a video or a carousel is a quick fix. Ideas for each format are in Click-to-WhatsApp ad examples.

Error codes you may see from ad tools

Tools that create ads through Meta’s Marketing API, including ad managers and agency dashboards, get a numbered error when Meta refuses a video. Meta’s developer reference lists these for video uploads:

CodeMeta’s message, in shortWhat to do
352The file is in a format Meta doesn’t supportExport as MP4 or MOV
382The file is too smallUse a larger file
351There was a problem with the video fileExport a fresh copy, then try another file
6000Problem uploading the file; try another fileRe-export the video and upload it again
6001Problem uploading the video; try againRetry, as it’s often temporary
389Unable to fetch the video file from its URLThe tool’s link to the file failed; retry, then contact the tool’s support

Picture uploads through the API return more general errors, such as an invalid parameter or a permissions error. A permissions error points to access, not the file: see how to give someone access to your ad account.

A quick routine that fixes most media errors

  1. Read the whole message. Note any placement, width or length it mentions.
  2. Export a fresh file from the original: JPG or PNG for pictures, MP4 (H.264, AAC audio) for videos.
  3. Check the size: at least 600 px wide, 4:5 for feeds, 9:16 for Stories and Reels.
  4. Trim long videos and keep a short cut for Stories.
  5. Upload in the right ad account, then wait until a video has finished processing.
  6. Pick a format your objective supports: image, video or carousel for ads that open chats.
  7. Preview each placement and publish again.

If the same file fails again after all of this, try a different browser or computer, and then contact Meta support from Meta Business Support Home with a screenshot of the message. If Ads Manager itself won’t load or save, see Meta Ads Manager not working.

How Automate AI handles ad pictures and videos

Automate AI creates Click-to-WhatsApp ads and other Meta ads from Meta Ads in the main menu, and it checks media before Meta sees it:

  • Pictures: JPG or PNG under 8 MB. Anything else gets a plain message, such as “Use a JPG or PNG picture.” If Meta refuses a picture, it says so and asks you to try another one.
  • Videos: MP4 or MOV under 48 MB. Automate AI stores the file and Meta fetches it from there, then prepares it, usually for a minute or two. A video ad needs a still picture: add your own cover, or wait until Meta has finished preparing the video and use Meta’s.
  • Another ad account: pictures and videos belong to the ad account they were uploaded to, so when you copy an ad that was made in another ad account, Automate AI leaves them out and you upload them again.
  • Check with AI: in the last step, the AI reads your texts and up to 4 pictures (a video by its cover picture) against Meta’s advertising rules. Meta still reviews every ad.

When your ads open your WhatsApp API number connected to Automate AI, their chats land in the shared inbox. More on running ads from one place is on the Meta Ads hub.

Frequently asked questions

Why does Meta say my media is invalid?

Meta won’t accept the picture or video as it is. The usual causes are an unusual file type, a file that is too big or too narrow, a video that is too long, too short or still processing, or an ad format your objective doesn’t support.

What file types does Meta accept for ads?

Meta says most types work, but it recommends JPG or PNG for images and MP4, MOV or GIF for videos. Images can be up to 30 MB and videos up to 4 GB.

Why does my video work in Feed but not in Stories?

Meta checks media for each placement. Stories need media wider than 500 pixels and allow much shorter videos than Facebook Feed, so a long or narrow video can pass for Feed and fail for Stories.

How long should I wait after uploading a video?

Until Meta shows it as ready. Meta processes each new video to make other encodings and thumbnails, and an ad that uses a video still processing may fail. Meta doesn’t give a set time, so wait until the video shows as ready. A video with an error status needs uploading again.

Can I use a collection ad that opens WhatsApp?

No. Meta says collection and instant experience formats aren’t available for messaging apps as the conversion location. Use a single image, a video or a carousel.

Does renaming a file to .jpg fix it?

No. Renaming doesn’t change what’s inside the file. Open it in an editor and export a new JPG, PNG or MP4.

Sources

  1. Meta Business Help Centre: Troubleshoot image ad uploads
  2. Meta Business Help Centre: How to troubleshoot video ad uploads in Ads Manager
  3. Meta Business Help Centre: Supported file formats for video ads in Meta Ads Manager
  4. Meta Business Help Centre: Video length specifications across placements in Ads Manager
  5. Meta Business Help Centre: How do I fix the ad format not supported error (error code 1815159)
  6. Meta for Developers: Media-level ad format validation
  7. Meta for Developers: Ad Videos reference (error codes)
  8. Meta for Developers: Video ads upload and processing status

WhatsApp rules and prices change. We check these guides against Meta’s documentation, but always confirm current terms with Meta before you rely on them. Questions? Message us on WhatsApp at +91 836 977 8812.