| Status code | 507 |
|---|---|
| Status text | Insufficient Storage |
| Category | 5xx Server Error |
| Response has body | Usually |
| Specification | RFC 4918 |
What does 507 Insufficient Storage mean?
The server cannot store the representation needed to complete the request. It belongs to the 5xx Server Error class, which means the server failed to fulfil an apparently valid request. The problem is on the server side.
When do APIs return 507?
The server has run out of disk space.
How to fix a 507 Insufficient Storage
An operational problem on the server side. Nothing in your request will change the outcome.
Reproduce a 507 response
The fastest way to understand a status code is to trigger one and read the full response. Open the
API tester and send a request to https://httpbin.org/status/507 — you will
see the 507 status along with every response header the server sent. Comparing those headers against
a working request is often what reveals the cause.
When you are debugging a real endpoint, check the response headers as carefully as the body, and confirm you are using the right HTTP method for the operation.
Related 5xx status codes
500 Internal Server Error
The server hit an unexpected condition and could not complete the request.
501 Not Implemented
The server does not support the functionality required to fulfil the request.
502 Bad Gateway
A server acting as a gateway or proxy received an invalid response from the upstream server.
503 Service Unavailable
The server is temporarily unable to handle the request.
504 Gateway Timeout
A gateway or proxy did not receive a timely response from the upstream server.