A collection graph can lead back to a resource already being traversed. WebDAV uses 508 when a loop prevents completing the operation. This is distinct from a browser following too many redirects. Some hosting products also use the number with provider-specific meanings, so confirm the response body and emitting software before applying WebDAV-specific repairs.
508 Loop Detected
A WebDAV operation encountered a loop while traversing the requested resources.
All HTTP status codes
What does HTTP 508 mean?
An investigation example
Illustrative collection-binding investigation
Response: 508 Loop Detected
A recursive operation follows a binding back to its ancestor.
Action: correct the binding structure or operation's supported traversal.
Verify: the collection operation terminates and covers the intended resources once.Common causes
- A deep WebDAV request traverses collection bindings that lead back to an already visited resource.
- A client cannot handle the binding-aware response needed to avoid repeatedly enumerating the same collection.
Diagnose the response
Inspect collection bindings and the traversal path, then remove or correctly handle the cycle before repeating the operation.
- Inspect the requested Depth and the collection's binding graph. Locate a path that returns to an ancestor rather than assuming an HTTP Location redirect is involved.
- Review recent BIND or collection changes and remove an unintended cyclic binding through supported WebDAV operations. Preserve legitimate aliases that do not cause the failing traversal.
- Check client support for binding extensions and 208 member statuses. Retest a bounded listing and the original deep operation after correcting the graph or compatibility problem.
What it means for website monitoring
Identify the server implementation first. A provider's custom resource-limit response needs its own documentation; a WebDAV loop needs collection and traversal evidence.