Skip to main content

Server Error (5xx)

HTTP/1.1

508 Loop Detected

The server terminated the operation because it detected an infinite loop.

CategoryServer Error (5xx)
API error types0 error schemas
Related headers0 headers
Defined inRFC 5842
Updated2026-07-09

What does HTTP status code 508 mean?

The 508 Loop Detected status code (WebDAV, RFC 5842) indicates that the server aborted the operation because it detected an infinite redirection loop.

When to use it in APIs

Used in WebDAV settings or complex hierarchical resource resolution where links form a loop.

How it compares to other codes

  • 500 Internal Server Error: A generic server failure, whereas 508 is specifically a loop resolution abort.
1