HTTP 416 Range Not Satisfiable — Invalid Byte Range Request
Informational4xx client error
Overview
HTTP 416 Range Not Satisfiable means the server cannot serve the requested byte range because it falls outside the actual size of the resource.
Key Details
- Occurs when the Range header specifies bytes beyond the resource's total size
- Example: requesting bytes 1000-2000 of a file that is only 500 bytes
- The response includes Content-Range header showing the actual resource size
- Can happen when resuming a download of a file that was replaced with a smaller version
- Also triggered by invalid range syntax in the Range header
Common Causes
- Requesting a byte range that exceeds the file size
- Resuming download of a file that has been modified or replaced since last request
- Malformed Range header syntax (e.g., bytes=abc-def)
- CDN serving cached file size that differs from origin
Steps
- 1Check the Content-Range header in the response for the actual file size
- 2Reset your download and start from byte 0 instead of resuming
- 3Validate Range header syntax: Range: bytes=0-499 or Range: bytes=500-
- 4Use a HEAD request first to get Content-Length before requesting ranges
- 5Clear CDN cache if file size recently changed on origin
Tags
http416range-not-satisfiablebyte-rangedownload
More in 4xx Client Error
http-400-bad-requestHTTP 400 Bad Request — What It Means & How to Fix It
Errorhttp-401-unauthorizedHTTP 401 Unauthorized — What It Means & How to Fix It
Errorhttp-402-payment-requiredHTTP 402 Payment Required — What It Means & How to Fix It
Errorhttp-403-forbiddenHTTP 403 Forbidden — What It Means & How to Fix It
Errorhttp-404-not-foundHTTP 404 Not Found — What It Means & How to Fix It
Errorhttp-405-method-not-allowedHTTP 405 Method Not Allowed — What It Means & How to Fix It
ErrorFrequently Asked Questions
The file on the server changed since your partial download. Start the download over from the beginning.