4xx Client Error
You asked for a specific part of a file (like pages 50-60), but the file only has 10 pages. I can't give you what doesn't exist.
Use 416 when a supported Range request is syntactically valid but unsatisfiable for the selected representation.
GET https://api.example.test/video.mp4
# Headers
Range: bytes=100000000-200000000416 Range Not Satisfiable
# Headers
Content-Range: bytes */50000000
Content-Type: application/json
# Body
{
"error": "range_not_satisfiable"
}Requested range starts beyond the 50MB file size