Resume offset is past the end of the file
- Where to look
- Range header and the Content-Range in the 416
- Fix
- Restart the download from byte 0
A 416 means the Range header asked for bytes the file does not have. Learn why resumed downloads and video seeks trigger it and how to fix the request or server.
A 416 Range Not Satisfiable error means the server could not serve the byte range in the request's Range header, for example because the start position is past the end of the file. The client caused it. Resume from a valid offset or download the whole file again. The response should say the file's real length.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
For a GET with a bytes range, RFC 9110 says a range is satisfiable if it is "an int-range with a first-pos that is less than the current length of the selected representation" or "a suffix-range with a non-zero suffix-length". So a request for bytes 1000-1999 of an 800-byte file fails. The server "SHOULD generate a Content-Range header field specifying the current length of the selected representation", for example Content-Range: bytes */47022.
The client sends the bad range, but the file may have changed on the server first: a partial download started against a longer file, then the file was replaced by a shorter one. A note in RFC 9110 says that because servers are free to ignore Range, many implementations respond with the entire representation in a 200 (OK) response, so a client cannot depend on seeing a 416.
MDN says that on a 416, "browsers typically either abort the operation (for example, a download will be considered non-resumable) or request the whole document again without ranges". If a download stops with this error, delete the partial file and start the download again from the beginning. If a video or audio file will not seek, reload the page. If it still fails for every file on a site, tell the site owner.
# Ask for bytes 1000-1999 of an 800-byte file
curl -i -H 'Range: bytes=1000-1999' https://example.com/files/prose.txt
# Expected from a correct server
# HTTP/1.1 416 Range Not Satisfiable
# Content-Range: bytes */800Send the same Range header with curl and compare the number with the file's real size.
A correct 416 carries Content-Range: bytes */<length>. Use that length to compute a valid offset.
Before resuming, check that the file has not changed. If the stored length is greater than or equal to the server's current length, the offset is out of range: restart from byte 0 if the file changed, or treat the download as complete if it did not.
Request the file from the origin and through the CDN, and check that both report the same length. A mismatch means the layer in front is serving a different copy.
nginx's max_ranges directive limits the number of ranges, and requests above the limit "are processed as if there were no byte ranges specified", so they return the whole file instead of a 416.
A 416 is a 4xx response. Google's documentation says it does not index URLs that return a 4xx status code and treats all 4xx errors except 429 the same way. A 416 answers a request that carries a Range header, which is typically used for downloads and media rather than ordinary page loads. If a normal page returns 416, find what adds the Range header. See 4xx errors and Google's documentation on how HTTP status codes affect its crawlers. Related: 206 Partial Content.
4 questions people ask next, answered from the sources on this page.
The server cannot serve the byte ranges in the request's Range header, usually because the requested start is beyond the end of the file.
The partial file is longer than or equal to the file now on the server, so the resume offset is past its end. Delete the partial file and restart.
It tells the client the current length, in the form bytes */1234. The client can use that length to build a valid range.
No. A note in RFC 9110 says servers are free to ignore Range, and many implementations answer with 200 and the whole file instead.
Run the free audit, then approve the fixes. Every change can be undone.