507Status code
5xxServer error
NoCacheable by default
RFC 4918Defined in
Common causes
- Disk or quota full
What to do
Free space or raise the quota.
Example response
HTTP/1.1 507 Insufficient Storage
Content-Type: application/problem+json
{"status":507,"title":"Insufficient Storage"}
Returning 507 in code
Express res.status(507).json({ … });
Flask return jsonify(…), 507
PHP http_response_code(507);
Go w.WriteHeader(507)
nginx return 507;