HTTP 416 Range Not Satisfiable
HTTP 416 Range Not Satisfiable means the byte range requested with a Range header is outside the size of the resource. It often happens when resuming a…
Quick answer
HTTP 416 Range Not Satisfiable means the byte range requested with a Range header is outside the size of the resource. It often happens when resuming a download of a file that changed or shrank, and the server includes Content-Range with the real size.
Last updated · Maintained by FreeAIToolz · How we test
What does HTTP 416 Range Not Satisfiable mean?
For example, asking for bytes=5000- on a 4,000-byte file returns 416 with Content-Range: bytes */4000. The client should restart the download or request a valid range.
| Status code | 416 |
|---|---|
| Name | Range Not Satisfiable |
| Class | 4xx Client Error |
| Defined in | RFC 9110 §15.5.17 |
| Cacheable by default | No, unless Cache-Control says so |
| Safe to retry automatically? | No: change the request first |
| Related headers | Range (request), Content-Range, If-Range |
What causes HTTP 416?
- Resuming a download after the file changed.
- A video player or downloader requesting beyond the end of the file.
How do I fix HTTP 416?
- Use ETag with If-Range so a changed file is re-sent in full rather than failing.
What should a client do after HTTP 416?
Discard partial data and restart the download, using Content-Range to learn the size.
Does HTTP 416 affect SEO?
No SEO impact.
Example 416 response
HTTP/1.1 416 Range Not Satisfiable
Date: Mon, 01 Dec 2026 12:00:00 GMT
Content-Range: bytes */4000
Content-Type: application/json
{"error":{"status":416,"message":"Range Not Satisfiable"}} How to return 416 Range Not Satisfiable in code
Express (Node.js)
res.status(416).json({ error: 'Range Not Satisfiable' }); Next.js route handler
return Response.json({ error: 'Range Not Satisfiable' }, { status: 416 }); FastAPI (Python)
raise HTTPException(status_code=416, detail="Range Not Satisfiable") PHP
http_response_code(416); Nginx
location = /example {
return 416;
} Other 4xx status codes
The request contains an error or cannot be fulfilled as sent. Fix the request before retrying.
- 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
- 425 Too Early
- 426 Upgrade Required
- 428 Precondition Required
- 429 Too Many Requests
- 431 Request Header Fields Too Large
- 451 Unavailable For Legal Reasons
- 499 Client Closed Request
Frequently asked questions
Why does my resumed download fail with 416?
How does If-Range help?
Is 416 a client or server error?
Related
- 206 Partial Content HTTP 206 Partial Content means the server is returning only part of the resource because the client asked for .
- 200 OK HTTP 200 OK means the request succeeded.
- 412 Precondition Failed HTTP 412 Precondition Failed means a condition the client set in a request header, such as If-Match or If-Unmo.
- Open the HTTP Status Codes Reference → Free, no signup.