What 416 means
The Range header asked for bytes that don't exist, often because the file changed size since the download started.
Common causes
- Resuming a download of a file that changed or shrank.
How to fix it
If you're calling an API
- Restart the download without a Range header.
If you run the server
- Send Content-Range with the actual size.
Should you retry?
Without the Range header.
Example response
HTTP/1.1 416 Range Not Satisfiable
Content-Type: application/problem+json
{
"type": "about:blank",
"title": "Range Not Satisfiable",
"status": 416,
"detail": "The requested byte range is outside the file."
}Related headers: Range, Content-Range.
Defined in: RFC 9110 (HTTP Semantics). 416 is a client error: change the request before retrying.
Debugging an API call? Convert your request with the cURL converter, check the response with the JSON formatter, or see whether the API is down on its status page.