HTTP Status Codes in the Overview – Part 2

HTTP Status Codes in the Overview – Part 2

The HTTP status code provides information about how or where HTTP requests are handled. But what do codes like 404, 200, 500, or 403 really mean? This understandable overview with HTTP status code helps web developers and creatives.

HTTP Status Codes in the Overview – Part 1

What is an HTTP status code?

Certainly, one or the other has already Error 404 – Page not found Or Error 403 – Access not allowed seen on a website. The corresponding code does not advance by chance.

With this so-called server response, the return of an HTTP status code is also done. This, consisting of a three-digit number and a brief description, transmits whether everything has been delivered correctly. (HTTP status code 200) or whether, for example, there was an internal error (HTTP 500) there. The HTTP status code is therefore part of the response returned by the server, for example, when a page is called.

HTTP status codes and their meanings

Since a lot can happen on the way from the browser to the server, there are many of these HTTP status codes. During transmission, it can also happen that the errors are recorded in more or less detail. Such a machine is sometimes just a human being.

Frequent codes such as HTTP 404HTTP 403, Or HTTP 500 are certainly familiar. But there are still many codes that need some explanation. Therefore, here is an overview with HTTP status codes, sorted by function or category of HTTP return.

Status codes 4xx

The status code refers to errors that have occurred. Also, the cause of HTTP 4xx may be the input or connection to the appropriate software that sends a request.

status codeDescriptionImportance
400 Bad RequestInvalid requestThe request failed. The syntax may have been incorrect or incomplete.
401 UnauthorizedUnauthorizedWithout authentication, the request cannot be executed. This is the case, for example, with protected pages if the name and/or password are not specified correctly.
402 Payment RequiredPayment requiredThe HTTP status code 402 is reserved for future HTTP protocols and represents a required payment.
403 ForbiddenProhibitedAccess has been banned. Authentication could not be performed or acknowledged.
404 Not FoundNot foundThe page or resource could not be found. The HTTP status code 404 can also be used to reject requests for no further reason.
405 Method Not AllowedMethod not allowedThe method by which the submission is submitted is not allowed. For example, we can set requests to be transmitted only with HTTP. Valid transmission methods are listed under “Allow” in the header.
406 Not AcceptableUnacceptableThe requested file is not available in the desired form. For example, a non-valid or incorrect “content-type” was specified.
407 Proxy Authentication RequiredAuthentication required by proxyAuthentication is required. However, this must be done by proxy. This distinguishes this status code from “HTTP 401”, for example.
408 Request TimeoutRequest timed outThe request appears to have taken too long and exceeded the time specified by the server. This can be the case, for example, when uploading larger files or when running very complex scripts.
409 ConflictConflict occurredThere has been a conflict with the request. A resource may have been modified in the meantime (for example, by the PUT method) so that it can no longer continue at this point.
410 GoneDisappearedThe file no longer exists on the server or has been permanently removed. There is no forwarding target.
411 Length RequiredLength requiredUnable to process the request without “Content-Length” in the header.
412 Precondition FailedPrecondition not metAn important precondition was not met when the server was asked. For example, this can be an “if-match” in the header.
413 Request Entity Too LargeRequest too largeThe request to the server is so large that it cannot be processed. For example, the HTTP status code 413 can occur with larger uploads of files.
414 URI Too LongAddress too longThe URL in the request is too long. Possible causes can be found, for example, in infinite loops from redirects.
415 Unsupported Media TypeUnsupported media typeThe request sends with an unsupported and invalid media or MIME type.
416 Requested range not satisfiableArea of the request cannot be fulfilledA requested part of a specific resource may be invalid or currently not available to the server.
417 Expectation FailedExpectation not metThe expectation of the request could not be met. For example, you may encounter “Expect” in the header on proxy servers.
418 I’m a teapotApril Fool’s jokeHTTP 418 is an April Fool’s joke by the IETF and represents a “protocol for coffee cooking” – the so-called “Hyper Text Coffee Pot Control Protocol”.
420 Policy Not FulfilledCondition not sufficiently metA code suggested by the W3C to express that a particular condition is not met.
421 Misdirected RequestRequest misdirectedHTTP status code 421 informs that a request has been sent to a server that is unable to respond to it. The status code was introduced to HTTP/2.
422 Unprocessable EntityNo processing possibleIf a request was still possible due to HTTP 400 or HTTP 415, the actual processing could not be done, for example, due to (programming) language errors.
423 LockedLockedThe requested resource is locked and inaccessible.
424 Failed DependencyDependency not fulfilledThe request could not be made because the success of a previous request could not be fulfilled.
426 Upgrade RequiredUpdate requiredThe server prompts you to retry the request with a different protocol. You may want to switch to HTTP with Transport Layer Security.
428 Precondition RequiredPrecondition requiredNot all the preconditions required for the request could be met. This status code is intended to avoid problems caused by so-called race situations.
429 Too Many RequestsToo many requestsToo many requests have been asked in a short period of time. Therefore, the edit is canceled.
431 Request Header Fields Too LargeHead area is too longThe maximum length in one or more fields in the header has been exceeded. Therefore, the request cannot be processed.
444 No ResponseNo answerThe server cannot return information. The connection is closed.
451 Unavailable For Legal Reasonsnot available for legal reasonsCertain content is not available for legal reasons. This may be the case, for example, due to slanderous copyrights or country restrictions.
HTTP status codes 4xx

Status codes 5xx

If an HTTP status code with 5 appears at the beginning, therefore it is most likely an error on the part of the server.

status codeDescriptionImportance
500 Internal Server ErrorInternal server errorThe server has detected an internal error and is, therefore, unable to process the request. Scripting languages such as PHP can also trigger “HTTP 500”.
501 Not ImplementedNot implementedThe server does not have the ability to process the request accordingly. An unrecognized or supported HTTP method may result in this error code.
502 Bad GatewayPoor portalThe server cannot make the request (in its gateway or proxy function) because it received an invalid response.
503 Service UnavailableService not availableThe server is currently unavailable. This can be the case, for example, in case of overload or maintenance.
504 Gateway TimeoutTimeout at the portalWithin a certain amount of time, the server (in the role of gateway or proxy) could not receive a response. Therefore, the processing is aborted.
505 HTTP Version not supportedHTTP version is not supportedThe HTTP version used is not supported by the server. The processing is rejected.
506 Variant Also NegotiatesCircular reference discoveredThe request has a circular reference. Therefore, editing will not continue.
507 Insufficient StorageInsufficient storage spaceThere is insufficient disk space on the server. Therefore, the request is not processed.
508 Loop DetectedEndless loop detectedExecution of the request is stopped because execution would end in an infinite loop.
509 Bandwidth Limit ExceededLimitation of bandwidth achievedThe bandwidth available or set by the server has been reached. Therefore, the processing is aborted.
510 Not ExtendedLack of informationImportant information is missing from the request. Therefore, no further processing takes place at this point.
511 Network Authentication RequiredNetwork authentication requiredAuthentication is required before the request can be processed.
HTTP status codes 5xx

Status Code Checker

A number of HTTP status code checkers are available to check whether pages are provided with HTTP dissenting status codes, for example, and that website redirects work as planned. With these online tools, we can determine if an unwanted “redirect” has not been hidden somewhere.

In Chrome Web Store for example, “Redirect Path”. With this Extension forwarding scan on pages. The HTTP status codes 301, 302, 404, and 500 are determined.

Redirect Path Extension
Redirect Path Extension

With the HTTP Status Codes Checker from httpstatus.io, which can check multiple addresses at once. You can download The result of the analysis directly as a CSV file.

Also, the status Code Checker comes with multiple addresses. Here, the result is optionally available for download as an Excel file.

HTTP Status Codes in the Overview – Part 1

Comments

Write a Reply or Comment

Your email address will not be published. Required fields are marked *


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.