HTTP 508 Loop Detected
HTTP 508 Loop Detected is defined by the WebDAV binding extension. A server can use it when an operation following collection bindings encounters a cycle and cannot complete the operation as requested.
Find the collection that points back
A recursive WebDAV listing can enter a collection whose binding ultimately leads back to an ancestor. Inspect the relevant collection tree and bindings. If the server and client support bind-aware listing, a 208 Already Reported inside a 207 response can identify a repeated collection.
Read the response before assuming a loop type
If the client reports too many redirects, capture the sequence of 3xx responses and look for repeated Location values. If you received an actual 508, check the response body and the emitting service. Some vendors also use 508 in their own ways, so consult their status documentation.
Follow the binding where traversal started
For example, a backup client might request an unbounded listing of a WebDAV collection. If /shared/projects/archive/ eventually binds back to /shared/projects/, the server may encounter the same collection while visiting its own descendants. Find the collection path and, when available, the resource IDs involved. If you own the repository, correct the unintended binding and verify the listing again using the client’s supported depth setting.
Compare with a request that avoids recursion
A listing with Depth: 0 can succeed because it inspects only the starting resource. If shallow listing works but traversal fails with a WebDAV 508, that pattern helps narrow down the binding involved. Also check whether the client advertised its WebDAV binding support. The server can report duplicate collection members differently for a client that understands those extensions.