Proxy locations

Europe

North America

South America

Asia

Africa

Oceania

See all locations

Network statusCareers

HTTP 508 Loop Detected Error - Meaning & Fix

The HTTP 508 Loop Detected status code means the server stopped an operation due to an infinite loop. This issue occurred while processing a request involving extensive recursions or interactions. The operation as a whole was unsuccessful.

Main causes

  • Misconfigured server-side rewrite rules causing recursive redirection.

  • Poorly implemented WebDAV properties that create cyclic dependencies.

  • Errors in the client's request, particularly in the handling of "Depth: infinity", leading to unintended recursive operations.

  • Server-side scripts or configurations that inadvertently create infinite loops during data processing.

# Request example 
curl -X POST https://sandbox.oxylabs.io/ -H 'Accept: */*;q=0.8' -H 'Accept-Encoding: br' -H 'User-Agent: Mozilla/5.0'

Try Scraper API with 5K results

Common fixes

  • Check the HTTP version used in your request and compare it with the versions supported by the server.

  • Update your client or server software to ensure compatibility with the HTTP version used.

  • Modify the HTTP version in your request headers to match one that the server supports.

  • Contact the server administrator to confirm the supported HTTP versions and request an update if necessary.

# Response example 
HTTP/1.1 508 Loop Detected
Content-Type: text/html; charset=UTF-8
Content-Length: 49

508 Loop Detected

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