- Home
- Tools
- Developer Tools
- HTTP Status Codes
- 416 Range Not Satisfiable
416 Range Not Satisfiable
The Range header asks for a part of the file that doesn't exist, such as bytes beyond its end.
- Class
- 4xx Client error. The request is the problem: a wrong address, missing credentials, data the server can't accept.
- Defined in
- RFC 9110
- Also known as
- Requested Range Not Satisfiable
What it looks like
HTTP/1.1 416 Range Not Satisfiable Content-Range: bytes */1000
What causes it
When none of the ranges in the request overlaps the resource. The typical case is a download that resumes at a position past the end of the file, because the file on the server became shorter or the half-finished file on disk belongs to another version. The response gives the real length in Content-Range.
What to do about it
Start from the beginning: delete the partial download and fetch the whole file.
If your own code builds the Range header, remember that positions count from 0, so the last byte of a file of 1,000 bytes is number 999. Asking to resume exactly at the end, with bytes=1000-, gets a 416, which is how a client can tell that the download was complete already.
Not to be confused with
| 206 Partial Content | The range exists and is sent. |
|---|---|
| 200 OK | The server ignores ranges and sends the whole file. |
All codes are on the list of HTTP status codes, which can be searched by number and by word.
Other 4xx codes
- 400 Bad Request
- 401 Unauthorized
- 402 Payment Required
- 403 Forbidden
- 404 Not Found
- 405 Method Not Allowed
- 406 Not Acceptable
- 407 Proxy Authentication Required
- 408 Request Timeout
- 409 Conflict
- 410 Gone
- 411 Length Required
- 412 Precondition Failed
- 413 Content Too Large
- 414 URI Too Long
- 415 Unsupported Media Type
- 417 Expectation Failed
- 418 I'm a teapot
- 421 Misdirected Request
- 422 Unprocessable Content
- 423 Locked
- 424 Failed Dependency
- 425 Too Early
- 426 Upgrade Required
- 428 Precondition Required
- 429 Too Many Requests
- 431 Request Header Fields Too Large
- 451 Unavailable For Legal Reasons