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.