List of 4xx HTTP Status Codes with Explanation – WebNots (2024)

Posted byEditorial Staff SEO, Web Tutorials4 Comments

Internet uses HyperText Transmission Protocol or HTTP to send and receive data. When a web server receives a request from a web browser, it sends a three digits HTTP code as a response. This happens for each single request a server receives. Each code in the HTTP response indicates different meaning and in this article let us explore the complete list of 4xx status codes with its meanings.

Types of HTTP Status Codes

Before going to 4xx status codes, it is better to understand we can classify HTTP response codes into the following five categories:

  • 1xx status codes for informational purposes
  • 2xx status codes for successfully processing of a request
  • 3xx status codes for redirection to inform the requested resource is available in different location on the server
  • 4xx status codes for client errors primarily comes from the browser due to missing parameters to access the requested webpage
  • 5xx status codes for server errors indicating failure in processing of the request

HTTP 4xx Status Codes

A web server sends 4xx HTTP status code in the response when there is an error in the request received from the client. From troubleshooting purposes, you can assume 4xx code indicates the server can’t process the request because the browser sent a wrong request with an error. You need to check the browser and send the correct request again to get the proper response. For example, entering correct username and password for accessing password protected pages. Here is a complete list of HTTP 4xx status codes with explanation. Remember, these are status codes (and not error codes), which may indicate error in some cases while simply provide information in most cases.

4xx Status CodeDescriptionExplanation
400Invalid RequestThe web server cannot fulfill the request because of incorrect syntax. As a result, it sends a code “400 – Bad Request” in a response.
401Unauthorized RequestYou will receive a code “401 – Unauthorized” in a server response when a user tries to access an authenticated resource. It indicates the server is yet to receive an authentication or received incorrect authentication. Simple example is a user trying to access an authenticated webpage by providing wrong user id or password.
402Payment RequiredThis code was created to use during an online payment is required but currently not used for that purpose. Some servers use 402 code for different purposes like to inform too many requests received from a particular IP address.
403Access to Resource Forbidden403 – Forbidden” code is received when a server receive a valid request but deny to respond. This is different from the “401 – Unauthorized” whereas the request needs to be authorized with a password, but authentication will not have any impact in 403 code. An example for 403 code is a registered user trying to access a restricted page.

List of 4xx HTTP Status Codes with Explanation – WebNots (2)

404Resource Not FoundThe “404 – Page Not Found” error code is displayed when a requested resource is no more available in the server. The reason could be that the site owner deleted the page or changed the URL without setting a 301 redirect. The requested resource may or may not be available in future, hence further requests for the same resource is permitted.

List of 4xx HTTP Status Codes with Explanation – WebNots (3)

405Method not allowed“405 – Method Not Allowed” is an error received if the request method mentioned in the request is not supported for the resource. If a search engine crawler encounters this error then the URL will not be indexed.
406Not Acceptable RequestWhen the requested resource exists but in different format then the server responds with the code “406 – Not Acceptable”. The reason for not supporting could be the language or encoding method mentioned in the request.
407Firewall, Proxy Authentication RequiredProxy server authentication is required for the client itself and the code “407 – Proxy Authentication Required” is received.
408Request TimeoutServer should receive the request from client within the specified time. If the client did not send the complete request within the specified time then the server responds with the timeout error “408 – Request Timeout”.
409ConflictWhen the request received by the server is in conflict with another request received or with server configuration then code “409 – Conflict” is received.
410Resource UnavailableWhen a requested resource is permanently deleted from the server then the code “410 – Gone” is received. The difference between 404 and 410 is that the pages with code 404 can still be requested multiple times but the pages with code 410 should not be requested again. Search engines will remove the pages with 410 error code from the indices whereas pages with code 404 will be requested again by the crawlers.
411Length RequiredWhen the request is sent by the client without mentioning the content length which is required then the server rejects the requests with the reason code as “411 – Length Required”. The request header needs to be corrected and transmitted to the server in order to get a correct response.
412Precondition FailedIf a server encounter a discrepancy on preconditions during processing of the request header then returns the ode “412 – Precondition Failed”.
413Request Entity Too LargeThe HTTP status code 413 is received when the server rejects a request due to the reason that the received request is too long for the server to process.
414Request URL Too LongThe HTTP status code 414 is received when the server rejects a request due to the reason that the URL of the requested resource is too long for the server to process.
415Unsupported Media TypeWhen the request body contains a media type which is not supported by the server then server rejects the request and the code “415 – Unsupported Media Type is received”. For example when a user try to submit a form along with an attachment which is not supported by the server then the upload will fail and code 415 will be received in the server response.
416Requested Range Not SatisfiableWhen the range field in the header of the request is not acceptable by the server then the server rejects the request and sends the code “416 – Requested Range Not Satisfiable”.
417Expectation FailedWhen the Expect field in the request header does not match the server’s expectation then the code “417 – Expectation Failed” is received.
418I’m a TeapotThis is part of HyperText Coffee Pot Control Protocol created as an April fool’s joke. It indicates a web server denies to brew coffee since it is a teapot. Some web servers returns 418 when they do not want to process the request.
422Unprocessable EntityWhen the server can’t process one or more elements in the received request then the code “422 – Unprocessable Entity” is received.
423LockedWhen the requested resourced is locked by another request then the server rejects the request and sends the code “423 – Locked” in the response.
424Failed DependencyWhen the server rejects the request due to the failure of the previous requests then the code “424 – Failed Dependency” is received.
426Upgrade RequiredWhen the server requesting for a connection upgrade which is not supported by the client then the code “426 – Upgrade Required” is received.

Non-Standard 4xx Status Codes

In addition to the above listed 4xx status codes, some web servers also use few other non-standard 4xx codes in HTTP response. Some of the examples are as below:

  • 420 – Enhance Your Calm: Twitter uses this code in searches when a user sends too many requests within a short period.
  • 444 – No Response: You can see this code in Nginx server logs when the server does not return any response and closed the connection for the client.
  • 451 – Redirect: Microsoft’s Exchange ActiveSync uses this code when the server can’t access user’s mailbox.

You can download the free HTTP status codes guide to understand all types of codes available in a server response.

Tags: 404ErrorHTTPStatus Code

4 Comments

6

4 Comments

Leave your reply.
List of 4xx HTTP Status Codes with Explanation – WebNots (2024)

FAQs

List of 4xx HTTP Status Codes with Explanation – WebNots? ›

4xx - Client Error

This group of HTTP status codes indicates that the request for the resource contains bad syntax or cannot be filled for some other reason, presumably by fault of the client sending the request.

What are 4xx series status codes for? ›

4xx - Client Error

This group of HTTP status codes indicates that the request for the resource contains bad syntax or cannot be filled for some other reason, presumably by fault of the client sending the request.

What are status codes 2xx, 3xx, 4xx, 5xx in API? ›

2xx successful – the request was successfully received, understood, and accepted. 3xx redirection – further action needs to be taken in order to complete the request. 4xx client error – the request contains bad syntax or cannot be fulfilled. 5xx server error – the server failed to fulfil an apparently valid request.

What 4xx status code means that a URL was explicitly removed and will not come back? ›

410 status code: Gone

The HTTP status code 410 , "410 error" for short, indicates that the requested URL was permanently removed. This means the URL existed before, but it was explicitly removed and will not come back. Search engines are quick to remove URLs from their index when the 410 error is returned.

How to find 4xx error? ›

Find 4xx Error Codes

You can see all 4xx status code issues in the Page Indexing report if you have a verified Google Search Console account. Alternatively, I recommend using Semrush Site Audit. It's a go-to solution if you manage clients' websites or don't have access to Google Search Console.

What is the difference between 404 and 4xx? ›

4xx errors (also referred to as 400 errors) occur when a page that once existed on a website is no longer live and has not been redirected elsewhere. These HTTP 4xx status codes (such as a 404 error) can also impact SEO. There are a number of ways search engines view and deal with pages displaying 4xx error codes.

What causes 4xx errors? ›

A 4XX Error is an error that arises in cases where there is a problem with the user's request, and not with the server. Such cases usually arise when a user's access to a webpage is restricted, the user misspells the URL, or when a webpage is nonexistent or removed from the public's view.

What do each of these status codes levels mean: 1xx, 2xx, 3xx, 4xx, 5xx? ›

We've compiled a list of all HTTP status codes covering 1xx (Informational), 2xx (Success), 3xx (Redirection), 4xx (Client Error), and 5xx (Server Error) status codes.

What is the difference between 4xx and 5xx error? ›

4xx codes are used to tell the client that a fault has taken place on THEIR side. They should not retransmit the same request again, but fix the error first. 5xx codes tell the client something happened on the server and their request by itself was perfectly valid.

What is the HTTP server replied with a 4xx status code? ›

What is a 4XX Error? A 4XX Error is an error that often occurs when a webpage doesn't exist or has restricted access or rights. These type of errors often occur from misspelling the URL. As a result, the page cannot be found or, the site or page could not be reached.

What is the status code 427? ›

427: Unassigned

Error status code 427 is currently unassigned.

What is 301, 302, 303? ›

Google advises using 301 redirects when permanent and 302 redirects when temporary. 303 is so unused that you might as well consider it deprecated unless you really understand its purpose.

What is API error 4xx? ›

4xx Status Codes (Client Error) The server could not understand the request due to incorrect syntax. The client should NOT repeat the request without modifications.

How to fix URL blocked due to other 4xx issue? ›

3 How to Fix the 'Blocked Due To Other 4XX Issue' Error
  1. 3.1 Set up a 404 Redirect.
  2. 3.2 Check Your . htaccess File.
  3. 3.3 Check Your Robots. txt File.
  4. 3.4 Contact Your Web Hosting Provider.

Are 4xx errors retryable? ›

4xx codes mean that an error has been made at the caller's side. That could be a bad URL, bad authentication credentials or anything that indicates it was a bad request. Therefore, without fixing that problem, there isn't an use of retry.

How can I troubleshoot 4xx errors for API gateway? ›

The AWSSupport-TroubleshootAPIGatewayHttpErrors runbook provides an automated solution to find and troubleshoot errors that arise from API Gateway HTTP requests. When your API is configured to log all resource and method requests, you can use this runbook to troubleshoot 4xx and 5xx errors.

What is the difference between 4xx and 5xx error codes? ›

4xx codes are used to tell the client that a fault has taken place on THEIR side. They should not retransmit the same request again, but fix the error first. 5xx codes tell the client something happened on the server and their request by itself was perfectly valid.

What is 4xx status code SIP? ›

4xx—Client Failure Responses. The request could not be understood due to malformed syntax. The request requires user authentication. This response is issued by UASs and registrars.

What do HTTP status codes that begin with 4xx like 404 indicate errors on? ›

HTTP status codes that begin with 4xx, like 404, indicate errors on: 4xx HTTP status codes indicate an issue with the client, like entering a bad URL or accessing something they aren't authorized to.

What does a status code indicate? ›

An HTTP status code is a message a website 's server sends to the browser to indicate whether or not that request can be fulfilled. Status codes specs are set by the W3C. Status codes are embedded in the HTTP header of a page to tell the browser the result of its request.

Top Articles
Hilarious and Unforgettable Funny 40th Birthday Quotes for the Fabulous Females
I Tested These Hilariously Funny Cards for My Sister's Birthday and She Couldn't Stop Laughing!
Brown's Funeral Home Obituaries Lawrenceville Va
Hamlett Dobson Funeral Home Obituaries Kingsport Tn
Refinery29 Horoscopes
Ksat Doppler Radar
Dirty South Swag Review | BatDigest.com
How to Create a Batch File in Windows? - GeeksforGeeks
Episode 163 – Succession and Legacy • History of the Germans Podcast
Wotr Dyra
Does Teddy Swims Have A Wife? Exploring The Life Of The Rising Star
Craigslist/Phx
Courtney Eaton Is Figuring It All Out
Best Laundry Mat Near Me
Jacob Chapel Live Stream
5417873087
Who Is Denise Richards' Husband? All About Aaron Phypers
20 Cozy and Creative Fall Front Porch Ideas to Welcome the Season in Style
Olde Kegg Bar & Grill Portage Menu
Does Publix Have Sephora Gift Cards
Mugshots In Waco Texas
Kroger Liquor Hours
Sheetz Unlimited Drinks Ending
Craigslist Philly Free Stuff
Twitter claims there’s “no evidence” 200 million leaked usernames and email addresses came from an exploit of its systems
Are your stomach problems caused by stress? What is ‘leaky gut’, and expert tips to avoid it
Skyward Login Waxahachie
Saint Lukes Epulse
Leonards Truck Caps
Operation Fortune Showtimes Near Century Rio 24
Tsymo Pet Feeder Manual Pdf
Banning Beaumont Patch
Landwatch Ms
Bdo Passion Of Valtarra
Kino am Raschplatz - Vorschau
Ixl Ld Northeast
Joe Bartlett Wor Salary
Best Turntables of 2023 - Futurism
Entegra Forum
Milepslit Ga
A Man Called Otto Showtimes Near Carolina Mall Cinema
Exploring The Craigslist Washington DC Marketplace - A Complete Overview
Ekaterina Lisina Wiki
Easy Pickled Coleslaw (with Canning Video)
Best Homemade Tartar Sauce
5 Pros & Cons of Massage Envy (VS Independent Massage Therapists)
Sona Systems Tcu
Directions To Lubbock
Leader of multi-state identity fraud ring sentenced to federal prison
Carros Jeep Wrangler Tachira | MercadoLibre 📦
Water Temperature Robert Moses
Bbw Chan Lmbb
Latest Posts
Article information

Author: Geoffrey Lueilwitz

Last Updated:

Views: 5305

Rating: 5 / 5 (80 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Geoffrey Lueilwitz

Birthday: 1997-03-23

Address: 74183 Thomas Course, Port Micheal, OK 55446-1529

Phone: +13408645881558

Job: Global Representative

Hobby: Sailing, Vehicle restoration, Rowing, Ghost hunting, Scrapbooking, Rugby, Board sports

Introduction: My name is Geoffrey Lueilwitz, I am a zealous, encouraging, sparkling, enchanting, graceful, faithful, nice person who loves writing and wants to share my knowledge and understanding with you.