HTTP 507 Insufficient Storage
The server is unable to store the representation needed to complete the request.
5xx Server Error
507
Insufficient Storage
Description
The 507 Insufficient Storage status code means the method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request. This condition is considered to be temporary. If the request that received this status code was the result of a user action, the request must not be repeated until it is requested by a separate user action. This is part of the WebDAV specification, but can apply to any situation where the server runs out of storage space, including disk space, quota limits, or memory constraints.
When Is It Used?
Used in WebDAV and file storage services when the server runs out of disk space or a user's storage quota is exceeded. Can also occur with databases that have reached their storage limit or when temporary file storage is exhausted.
Example Response
HTTP/1.1 507 Insufficient Storage
Content-Type: application/json
{"error": "insufficient_storage", "message": "Storage quota exceeded. Please free up space."}