4xx Client Error

HTTP 416 Range Not Satisfiable

The client requested a portion of the file using the Range header, but the server cannot supply that portion. Typically because the requested range is beyond the end of the resource.

Common Causes

  • Requested byte range exceeds the file size
  • Resume download with an offset beyond the current file length
  • File was truncated or changed since the range was calculated

How to Fix

  1. 1Check the file size with a HEAD request before requesting a range
  2. 2Reset the download instead of trying to resume
  3. 3Verify the Content-Range values are within bounds

Example

HTTP 416 Range Not Satisfiable
GET /file.zip HTTP/1.1
Range: bytes=99999999-

→ 416 Range Not Satisfiable
→ Content-Range: bytes */50000

Related Client Error Codes