HTTP 416 Range Not Satisfiable Error - Meaning & Fix

The HTTP 416 Range Not Satisfiable error occurs when the server cannot provide the requested data range. This typically happens if the range does not exist within the document. The server response includes a Content-Range header showing an unsatisfied range.

Main causes

  • The requested byte range is not available within the current scope of the document.

  • The Range header in the request is syntactically correct but logically incorrect or out of bounds.

  • The file requested has been modified, making previously valid ranges invalid.

  • The server configuration or settings do not support byte-range requests.

# Request example 
curl -X POST https://sandbox.oxylabs.io/ -H 'Accept: text/html' -H 'Accept-Encoding: gzip, deflate' -H 'User-Agent: Safari/537.36'

Try Scraper API with 5K results

Common fixes

  • Reduce the size of the file or payload being uploaded.

  • Increase the server's maximum allowed request size in the server configuration.

  • Compress the data before sending it to the server.

  • Split the request into smaller, multiple parts if possible.

# Response example 
HTTP/1.1 416 Range Not Satisfiable
Content-Type: text/html
Content-Length: 0

Forget HTTP errors with Scraper API

Web scraper API

Self-Service

Public data delivery from a majority of websites

From

49

Useful resources

Get the latest news from data gathering world

I'm interested