List of 5xx HTTP Status Codes with Explanation

HyperText Transfer Protocol (HTTP) is a communication protocol used when browser sends the request to the server to get the response. During this process, server returns a code to indicate the status of the received request. This HTTP status code is very useful in troubleshooting the connection errors and fix the problems.

HTTP Request and Response Over Web
HTTP Request and Response Over Web

Types of HTTP Status Codes

Here are the five different categories of status codes used in HTTP communication protocol:

5xx HTTP Status Codes – Server Error

These are the HTTP status or error codes most frequently seen in the web browser window. 5xx error codes are returned by the web server when it encounters a problem during processing of the requested resource by the client.

500 – Internal Server Error

When the server encountered an unexpected condition which stops it from responding to the request then it returns an error code “500 – Internal Server Error“.

Internal Server Error
Internal Server Error

Generally, internal server error happens due to incorrect configuration. If you are a website owner, check the server’s configuration or get in touch with your web hosting company to fix the error.

501 – Method Not Supported

When the server does not able to provide the requested resource due to unsupported or unrecognized method used in the request then the code “501 – Not Implemented is received.

502 – Gateway Error

When a request prompts the server1 to act as a gateway or proxy to get a response from another server2 and if the server1 received an unacceptable response from the server2 then the code “502 – Bad Gateway” is received.

Cloudflare 502 Bad Gateway Error
Cloudflare 502 Bad Gateway Error

503 – Service Unavailable

When a request is received by the server at the time it is overloaded by other requests or it is under planned maintenance downtime then the code “503  – Service Unavailable” is received.

504 – Gateway Timeout

When the server1 is acting as an external gateway or proxy and did not receive the response on time from the next server2 further up in the request chain which it tried to access in order to fulfill the request then code “504 – Gateway Timeout” is received.

504 Gateway Timeout Error
504 Gateway Timeout Error

505 – HTTP Version is Not Supported

When the server does not support the HTTP protocol version used in the request message then the code “505 – HTTP Version Not Supported” is received.

507 – Insufficient Space

When the server runs out of hard disk space and no more accommodate the request then the code “507 – Insufficient Storage” is received.

510 – Extensions are Missing

When the server can’t process the request due to unsupported extension is requested then the code “510 – Not Extended” is received.

HTTP Status Codes Guide
HTTP Status Codes Guide

Editorial Staff at WebNots are team members who love to build websites and share the learning with webmasters community. Connect with us in Facebook and Twitter.

Recommended Articles:

Leave a Comment