What does HTTP status code 507 mean?
The 507 Insufficient Storage status code (WebDAV, RFC 4918) indicates that the server cannot complete the request because it lacks disk space.
When to use it in APIs
Useful for storage or upload APIs to explicitly notify users that a file upload was rejected because the server has run out of physical disk space.
How it compares to other codes
- 500 Internal Server Error: Generic failure. 507 points directly to storage limit issues.