Hello friends, Today we are going to discuss about http response codes 5xx. In previous articles we have discussed about
In this article we are going to discuss about http response codes 5xx and meaning.
Note: Http response codes 5xx are indication of Server Errors. ** is prefixed for most commonly used status codes.
So let’s start.
**500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request. A generic error message, given when no more specific message is suitable.
**501 Not Implemented
The server does not support the functionality required to fulfill the request. This is the appropriate response when the server does not recognize the request method and is not capable of supporting it for any resource.
**502 Bad Gateway
The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.
**503 Service Unavailable
The server is currently unable to handle the request due to a temporary overloading or maintenance of the server.
**504 Gateway Timeout
The server, while acting as a gateway or proxy, did not receive a timely response from the upstream server specified by the URI.
505 HTTP Version Not Supported
The server does not support, or refuses to support, the HTTP protocol version that was used in the request message. The server is indicating that it is unable or unwilling to complete the request.
The response should contain an entity describing why that version is not supported and what other protocols are supported by that server.
506 Variant Also Negotiates (Experimental)
The 506 status code indicates that the server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process.
507 Insufficient Storage (WebDAV)
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
508 Loop Detected (WebDAV)
The 508 (Loop Detected) status code indicates that the server terminated an operation because it encountered an infinite loop while processing a request with “Depth: infinity”. This status indicates that the entire operation failed.
509 Bandwidth Limit Exceeded (Apache)
This status code, while used by many servers, is not specified in any RFCs.
510 Not Extended
The policy for accessing the resource has not been met in the request. The server should send back all the information necessary for the client to issue an extended request
If the 510 response contains information about extensions that were not present in the initial request then the client MAY repeat the request if it has reason to believe it can fulfill the extension policy by modifying the request according to the information provided in the 510 response. Otherwise the client MAY present any entity included in the 510 response to the user, since that entity may include relevant diagnostic information.
511 Network Authentication Required
The 511 status code indicates that the client needs to authenticate to gain network access.
The response representation SHOULD contain a link to a resource that allows the user to submit credentials (e.g. with a HTML form).
The 511 status should not be generated by origin servers; it is intended for use by intercepting proxies that are interposed as a means of controlling access to the network.
550 Permission Denied
The server is stating the account you have currently logged in as does not have permission to perform the action you are attempting. You may be trying to upload to the wrong directory or trying to delete a file.
598 Network read timeout error
This status code is not specified in any RFCs, but is used by some HTTP proxies to signal a network read timeout behind the proxy to a client in front of the proxy.
599 Network connect timeout error
This status code is not specified in any RFCs, but is used by some HTTP proxies to signal a network connect timeout behind the proxy to a client in front of the proxy.
That’s it about Http response codes 5xx. There are few more status codes which are unofficial but still used. You can check the list here.