Why an m3u8 download fails (403, 404 and CORS errors)

Most failed m3u8 downloads come down to a handful of errors. Here is what each one means, what you can do about it, and what m3u8.cloud will not do.

Updated 5 min read

The errors at a glance

An HTTP status code is the three-digit number a server sends back with every answer. 200 means "here it is"; the codes below mean something went wrong.

ErrorWhat it usually meansWhat to try
403 ForbiddenThe server refused: the link has expired, the request lacks something the original page sends, or the video is limited to some regionsCopy a fresh link from the video page
404 Not Found, 410 GoneThe playlist or its pieces were removed, or a live stream has moved onFind the current link; record live streams while they run
CORS errorThe server lets only its own website read the streamRun the ffmpeg command, or use the relay for public-sector sites
Mixed contentAn http:// link can't be read from an https:// pageTry the https:// address, or run the ffmpeg command
Encrypted or DRMThe pieces are lockedm3u8.cloud can't save these

403 Forbidden: the server refused

A 403 means the server understood the request and decided not to answer it. With streaming video it usually comes from one of these:

  • The link has expired. Many sites sign their links with a token, a code in the address such as ?token=… or ?Expires=…&Signature=…. Once the token runs out, often after minutes or hours, the same link returns 403. Some tokens also stop working on a different device or network from the one that opened the page.
  • The request lacks something the page normally sends. When you watch on the original site, your browser sends that site's cookies (for example, proof that you are signed in) and a Referer header, which tells the server which page asked. Some video servers refuse requests that don't carry these.
  • Region restrictions. Some videos are licensed only for certain countries, and the server refuses requests from elsewhere.

The playlist can load while the pieces fail, or the other way round, because a site can protect them in different ways. Either way, the first step is the same: reload the page you are allowed to watch, play the video, copy a fresh link and use it right away. The guide to finding the m3u8 link shows how.

If a fresh link fails in m3u8.cloud straight away but plays on the site, the server probably expects cookies or a Referer from its own pages. That is an access control, and m3u8.cloud won't imitate it.

404 Not Found and 410 Gone: the link or pieces are gone

A 404 means the server has nothing at that address. A 410 means the item is gone and is not expected to come back. Common reasons:

  • The video or its pieces were removed or moved. Sites reorganize archives, replace recordings with edited versions or take them down.
  • A live window moved on. A live playlist keeps only the most recent pieces, often a minute or two. Older pieces drop off the list and can soon be deleted, so a live link copied hours ago may point to pieces that no longer exist. When the stream ends, the link may stop working altogether.
  • Part of the address is missing. Long links get cut off when copied. Check that you copied everything, including the part after ?.

Get the current link from the video page. For live streams, record while the stream runs: m3u8.cloud's Record button saves from that moment on, plus whatever the stream still keeps from shortly before. Some publishers also post the full recording after a live event ends.

CORS: the server only lets its own website read it

CORS (cross-origin resource sharing) is a browser rule. A web page may read data from another website only if that website's server allows it, by sending an Access-Control-Allow-Origin header. Many video servers allow any website. Some allow only their own.

m3u8.cloud works inside your browser, so to the video's server it is another website. If the server allows only its own pages, the browser blocks m3u8.cloud from reading the playlist or pieces, even though the video plays fine on its own site. In the browser's developer console, this shows up as a message that mentions CORS or Access-Control-Allow-Origin. MDN has a full explanation of CORS.

When this happens, m3u8.cloud either passes the pieces through its relay, if the site is a public-sector site on the relay list, or shows you the ffmpeg command for the stream instead.

Mixed content: an http link on an https page

m3u8.cloud is served over https, the encrypted version of the web's protocol. Browsers block an https page from loading data over plain http, because the unencrypted part could be read or changed on the way. This is called mixed content. So a link that starts with http:// fails in the browser even if it plays in another app. The playlist can also be https while the pieces it lists are http, with the same result.

Try the same address with https:// at the start. Many servers offer both. If that fails, use the ffmpeg command on your own computer.

What you can lawfully do

  1. Get a fresh link. Reload the page you are allowed to watch, play the video and copy the new link. The Find m3u8 links bookmarklet from the home page makes this quick. Start the download soon after copying.
  2. Run the ffmpeg command on your own computer. m3u8.cloud shows the equivalent ffmpeg command for every stream. ffmpeg is a program, not a web page, so the CORS and mixed-content rules above don't apply to it. Use it only for links you are allowed to use. It can't revive an expired link or lift a regional restriction. See how to download an m3u8 with ffmpeg.
  3. Use the relay for public-sector sites. For government, legislature, court, public university and similar sites, plus a short list of approved hosts, m3u8.cloud can pass the pieces through its relay on Cloudflare's network. The relay asks for a quick human check (Cloudflare Turnstile) before first use and every 30 minutes. It has a per-minute speed limit and a daily allowance per person, counted in pieces. It does not work from VPNs, cloud servers or automated browsers, and it does not store the video or keep the stream links it relays.
  4. Suggest a site. If a public body's stream is blocked and isn't on the relay list, suggest it. Anyone can.
  5. Ask the publisher. Some public bodies offer a download link, an archive copy or a recording on request.

What m3u8.cloud will not do

m3u8.cloud is built for videos you have the right to save, such as public meetings, lectures, your own videos and openly licensed material. It will not:

  • get around logins, paywalls or subscriptions;
  • get around geo-blocks, which is one reason the relay does not work from VPNs;
  • renew, fake or strip tokens and signatures, or imitate the cookies and headers a site uses to check where requests come from;
  • decrypt anything: streams protected with AES-128 encryption, SAMPLE-AES or DRM (Widevine, FairPlay, PlayReady) are refused with an explanation;
  • relay sites that are not public-sector sites or approved hosts.

These limits are deliberate. When a video is locked, its publisher has decided who may watch it and how. You can check a playlist for encryption before you start with the m3u8 inspector. For the rules that apply to using the site, see the terms, and for copyright concerns, the copyright page.

Questions

Why does the video play on its website but fail in m3u8.cloud?

On its own website, the player is allowed by the server's CORS rules, and your browser sends that site's cookies and the address of the page. m3u8.cloud is a different website, so the server may treat its requests differently. A link that has expired since you copied it fails too.

Does the relay fix 403 errors?

Usually not. The relay is for public-sector servers that block other websites (CORS). An expired or refused link fails through the relay too. Get a fresh link from the video page first.

Will a VPN fix a 403 error?

No. If the 403 comes from a regional restriction, that is the publisher's decision, and m3u8.cloud will not help get around it. The relay also does not work from VPNs.

The ffmpeg command also fails with 403. What now?

The link has most likely expired, or the server needs access you don't have. Copy a fresh link from the page you are allowed to watch and run the command soon after. If it still fails, the site is not letting the video be downloaded, and m3u8.cloud can't change that.

Have the link? Save the stream as one video file.

Paste a link