507 Insufficient Storage

The server cannot store the representation needed to complete the request.

Status

HTTP/1.1 507 Insufficient Storage

Details

507 was defined for WebDAV but describes a general condition: the write cannot proceed because there is no room for it. That may be a full disk, an exhausted quota, or a storage backend refusing writes.

Unlike 413, the request is not too large in the abstract. It is too large for the space currently available, so the same request may succeed once space is freed.

Common causes

How to fix it

As the client

As the server

Examples

A write against a full quota

HTTP request

PUT /dav/files/large.iso HTTP/1.1
Host: files.example.com
Content-Length: 4294967296

HTTP response

HTTP/1.1 507 Insufficient Storage
Content-Type: application/json; charset=utf-8

{"error":"insufficient_storage","quota_bytes":10737418240,"used_bytes":10737418240}

Specifications

See also