Reference
1 min read

RANGE_END_NOT_VALID

The end value of the Range header in the request is invalid. This is a request error.
Table of Contents

The RANGE_END_NOT_VALID error occurs when the end value of the Range header in a request is invalid. This header is used to request a specific portion of a resource from the server, which is useful for operations like resuming downloads or streaming media.

416

RANGE_END_NOT_VALID

Requested Range Not Satisfiable

To troubleshoot this error, follow these steps:

  1. Validate Range header values: Ensure that the end value in the Range header is a valid integer. It should not be a letter, a decimal, or a scientific notation value
  2. Correct ordering: Ensure the start value is less than the end value in the Range header
  3. Omit end value if necessary: If you want to request all bytes from a certain start point to the end of the resource, you can omit the end value
  4. Check configuration: If the Range header values are being set automatically by some part of your system, check the configuration to ensure it's being set correctly
  5. Debugging: If the error persists, log the Range header values in your server logs to debug and understand what values are being sent in requests
Last updated on February 21, 2024