5xx Server Error

HTTP 508 Loop Detected

The server detected an infinite loop while processing the request. This is used in WebDAV with the Depth: infinity header when a binding creates a cycle in the resource hierarchy.

Common Causes

  • Circular references in WebDAV resource bindings
  • Infinite redirect loop on the server
  • Recursive operation encountering a cycle

How to Fix

  1. 1Check for circular references in resource structure
  2. 2Remove or break the cycle in bindings or symlinks
  3. 3Use Depth: 0 or Depth: 1 instead of Depth: infinity

Example

HTTP 508 Loop Detected
PROPFIND /files HTTP/1.1
Depth: infinity

→ 508 Loop Detected
→ "Circular binding detected at /files/a/b/a"

Related Server Error Codes