508
Server Error
508 Loop Detected
The server terminated an operation because it encountered an infinite loop (WebDAV).
Description
508 Loop Detected is a WebDAV status code (RFC 5842) indicating that the server terminated an operation because it encountered an infinite loop while processing the request. This can occur with Depth: Infinity requests on WebDAV collections that contain circular references.
Common Causes
- WebDAV COPY/MOVE with Depth: Infinity on a circular directory structure
- Recursive server-side includes or templates
- Circular references in linked data structures processed server-side
How to Fix
- Remove circular references from the directory or data structure
- Use Depth: 0 or Depth: 1 instead of Infinity for WebDAV operations
- Add cycle detection to server-side recursive processing
- Review the data structure for unexpected circular links
Check your website's HTTP status code
Check now →