Skip to main content
HTTP/2xx (Success)

206 Partial Content

The server is delivering only part of the resource due to a Range header sent by the client.

❓ Why does this happen?

Enables resumable downloads, video streaming chunking, and multi-threaded file downloaders.

✅ How to fix it

Check client Range header values and server Content-Range response headers if downloads fail midway.

Return or handle 206 in your stack

// app/api/resource/route.ts
export function GET() {
  return Response.json(
    { error: "Partial Content", status: 206 },
    {
      status: 206
    }
  );
}

Live 206 mock endpoint

Point your app, tests, or retry logic at this free public URL to reproduce a real 206 response (CORS enabled, optional ?delay=ms up to 5000).

https://castov.com/api/mock/206

Frequently Asked Questions

What does HTTP Status 206 mean?
The server is delivering only part of the resource due to a Range header sent by the client.
Why am I getting a 206 status code?
Enables resumable downloads, video streaming chunking, and multi-threaded file downloaders.
How do I fix a 206 Partial Content error?
Check client Range header values and server Content-Range response headers if downloads fail midway.
How can I test how my app handles a 206 response?
Send a request to https://castov.com/api/mock/206 — it returns a real 206 Partial Content response with CORS enabled. Add ?delay=2000 to simulate a slow server.

Other 2xx status codes

Browse the full HTTP status codes directory or troubleshoot terminal errors in the Error Fix Encyclopedia.