WhereGoes

508 Loop Detected

5xx server error

The server detected an infinite loop while processing a WebDAV request, usually a circular collection membership, so it aborted the operation rather than spinning.

Common causes

  • A collection contains a binding to one of its own ancestors.
  • A symlink or mount creates a cycle in the tree.
  • Batch traversal has no visited set.

How to fix it

  • Flatten the hierarchy or remove the self-referencing member.
  • Track visited nodes during recursive walks.
  • Cap traversal depth as a safety net.

What it means for redirects and SEO

Loop detection in WebDAV mirrors a redirect loop signal, so crawlers stop early. Circular collection links are typical. Flatten the hierarchy or fix the self-referencing member.

Related codes