Start free · Free tools · Fair usage limits
Browse Tools

Categories

Custom AI Solutions – AI2Flows
LIVE NEWS
Loading latest AI & SEO news…
Home›Tools›HTTP Status Codes Reference›HTTP 416 Range Not Satisfiable
4xx Client Error

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 code416
NameRange Not Satisfiable
Class4xx Client Error
Defined inRFC 9110 §15.5.17
Cacheable by defaultNo, unless Cache-Control says so
Safe to retry automatically?No: change the request first
Related headersRange (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?

  1. 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.

Frequently asked questions

Why does my resumed download fail with 416?
The file on the server changed or is smaller than the part you already downloaded. Delete the partial file and start again.
How does If-Range help?
With If-Range, the server sends the range only if the file is unchanged; otherwise it sends the full file with 200 instead of an error.
Is 416 a client or server error?
416 is in the 4xx class, so it is classed as a client error: the request needs to change before it can succeed.