Error Codes Wiki

HTTP 416 Range Not Satisfiable — What It Means & How to Fix It

Error4xx client error

Overview

The HTTP 416 Range Not Satisfiable status code indicates the server cannot satisfy the byte range specified in the Range header of the request.

Key Details

  • Previously known as "Requested Range Not Satisfiable."
  • This occurs when the requested byte range is outside the size of the resource.
  • The response includes a Content-Range header showing the actual size of the resource.
  • Common when resuming downloads with an incorrect byte offset.

Common Causes

  • The Range header specifies bytes beyond the end of the resource.
  • A download resume attempt uses an offset larger than the file size.
  • The file was modified or replaced since the last partial download.

Steps

  1. 1Check the Content-Range header in the response to see the actual resource size.
  2. 2Restart the download from the beginning if the file has changed.
  3. 3Verify the byte range in your Range header is within the resource bounds.
  4. 4Handle this error gracefully in download managers by falling back to a full download.

Tags

httpclient-errorrangedownloadbyte-range

Related Items

More in 4xx Client Error

Frequently Asked Questions

It means the byte range you requested is not valid for the resource. The range is likely beyond the end of the file.