Powered by Blogger.

What Does 404 and Other HTTP Error Codes Mean?

404 Error

Sometimes when you try to open a webpage but instead of opening you get is a mysterious code number. What do they mean?  Today we will talk about these codes in our topic. These Codes Are Called HTTP Status Codes.

HTTP Status codes are returned by the server to the client software to determine the outcome of a request, the codes below are the HTTP /1.1 codes.

 


Message Number Categories

Because you usually only see one or two error numbers it's easy to believe that's all there are. But in Actually, there are families of numbers, and not all of these are errors. The following is a list of HyperText Transfer Protocol (HTTP) response status codes

Codes 100-101 | Codes 200-206 | Codes 300-307 | Codes 400-417 | Codes 500-505


HTTP CODES - 100-101

  • 100 - Continue
    Tells the client that the first part of the request has been received and that it should continue with the rest of the request or ignore if the request has been fulfilled.
  • 101 - Switching Protocols
    Tells the client that the server will switch protocols to that specified in the Upgrade message header field during the current connection.

Back to List

HTTP CODES 200-206

  • 200 - OK
    The request sent by the client was successful.
  • 201 - Created
    The request was successful and a new resource was created.
  • 202 - Accepted
    The request has been accepted for processing, but has not yet been processed.
  • 203 - Non-Authoritative Information
    The returned meta information in the entity-header is not the definitive set as available from the origin server.
  • 204 - No Content
    The request was successful but does not require the return of an entity-body.
  • 205 - Reset Content
    The request was successful but the User-Agent should reset the document view that caused the request.
  • 206 - Partial Content
    The partial GET request has been successful.

Back to List

HTTP CODES 300-307

  • 300 - Multiple Choices
    The requested resource has multiple possibilities, each with different locations.
  • 301 - Moved Permanently
    The resource has permanently moved to a different URI.
  • 302 - Found
    The requested resource has been found under a different URI but the client should continue to use the original URI.
  • 303 - See Other
    The requested response is at a different URI and should be accessed using a GET command at the given URI.
  • 304 - Not Modified
    The resource has not been modified since the last request.
  • 305 - Use Proxy
    The requested resource can only be accessed through the proxy specified in the location field.
  • 306 - No Longer Used
    Reserved for future use.
  • 307 - Temporary Redirect
    The resource has temporarily been moved to a different URI. The client should use the original URI to access the resource in future as the URI may change.

Back to List

HTTP CODES 400-417

  • 400 - Bad Request
    The syntax of the request was not understood by the server.
  • 401 - Not Authorized
    The request needs user authentication
  • 402 - Payment Required
    Reserved for future use.
  • 403 - Forbidden
    The server has refused to fulfill the request.
  • 404 - Not Found
    The document/file requested by the client was not found.
  • 405 - Method Not Allowed
    The method specified in the Request-Line is not allowed for the specified resource.
  • 406 - Not Acceptable
    The resource requested is only capable of generating response entities which have content characteristics not specified in the accept headers sent in the request.
  • 407 - Proxy Authentication Required
    The request first requires authentication with the proxy.
  • 408 - Request Timeout
    The client failed to sent a request in the time allowed by the server.
  • 409 - Conflict
    The request was unsuccessful due to a conflict in the state of the resource.
  • 410 - Gone
    The resource requested is no longer available and no forwarding address is available.
  • 411 - Length Required
    The server will not accept the request without a valid Content-Length header field.
  • 412 - Precondition Failed
    A precondition specified in one or more Request-Header fields returned false.
  • 413 - Request Entity Too Large
    The request was unsuccessful because the request entity is larger than the server will allow.
  • 414 - Request URI Too Long
    The request was unsuccessful because the URI specified is longer than the server is willing to process.
  • 415 - Unsupported Media Type
    The request was unsuccessful because the entity of the request is in a format not supported by the requested resource for the method requested.
  • 416 - Requested Range Not Satisfy-able
    The request included a Range request-header field, and not any of the range-specified values in this field overlap the current extent of the selected resource, and also the request did not include an If-Range request-header field.
  • 417 - Expectation Failed
    The expectation given in the Expect request-header could not be fulfilled by the server.

Back to List

HTTP CODES 500-505

  • 500 - Internal Server Error
    The request was unsuccessful due to an unexpected condition encountered by the server.
  • 501 - Not Implemented
    The request was unsuccessful because the server can not support the functionality needed to fulfill the request.
  • 502 - Bad Gateway
    The server received an invalid response from the upstream server while trying to fulfill the request.
  • 503 - Service Unavailable
    The request was unsuccessful to the server being down or overloaded.
  • 504 - Gateway Timeout
    The upstream server failed to send a request in the time allowed by the server.
  • 505 - HTTP Version Not Supported
    The server does not support or is not allowing the HTTP protocol version specified in the request.

Back to List

 

If you liked this post and find it informative, then don't forget to share it with your friends and family. If you don’t want to miss any of our post then you can also get our latest posts in your inbox (For Free).

20 comments:

  1. Hello Sumeet,

    Nice list of HTTP codes. Very few people are aware about it. Generally, we see 404 Not found errors or 403 Forbidden errors in daily life. Rest are not generally observed.

    Keep sharing useful information.

    Regards
    -Ganesh Narayan Gupta (Tech Blog Cloud)

    ReplyDelete
    Replies
    1. Dear Ganesh, Thanks for commenting. 404 is more common because it is can be observed by anyone, However, there are some codes that only webmasters know, such as 200, 301 and 302

      Delete
  2. Great list for referencing, will definitely bookmark it for further referencing.

    ReplyDelete
  3. Useful list. I know about 404 code and don't know about other HTTP code. I've bookmarked it for future use. Keep posting such kind of information.

    ReplyDelete
  4. Great list.
    I recently got error on Line 161 of php code without having done anything with php codes at all.
    And it was really bad- I had to reinstall WordPress and all the plugins after that.

    ReplyDelete
    Replies
    1. Dear Ambika, Thanks for commenting, But I don't think there is any relation between a PHP line error and a HTTP response code.

      Delete
  5. Hi Sumeet,

    Neat neat neat. All are entirely new to me. I think learning more about each code can go a long way in alleviating blogging stress.

    No longer do we need to worry about what the heck each means. We have your post to reference.

    Thanks buddy.

    Ryan

    ReplyDelete
  6. Hi Sumeet,

    Great list really it helped me a lot, I don't know about few of them but you solved out my doubts.Looking forward to read more from you.

    ~Sahil Dhull

    ReplyDelete
  7. great post, ot really good to know what these codes means at times not to just confuse yourself.

    ReplyDelete
  8. Hi Sumeet,
    I have come across several of these error but I've never occurred to me what they means.
    Thanks a lot this insight!

    ReplyDelete
  9. Wow...this is awesome....Complete list of all the HTTP error codes...I knew about most of them but some of the names I've found here only.....Thanks a lot bro for taking the initiative to make all of us aware of these codes......keep up the good work....

    ReplyDelete
  10. hello sumeet... thanks for sharing this awesome lists of HTTP codes. now i do not have to search about those codes mean when i encounter them when checking different sites. bookmarked for future use

    ReplyDelete
  11. This is an awesome article, a complete and detailed list of all HTTP Error codes and this is really a new thing for me and this will definitely help me to understand these codes
    Thanks

    ReplyDelete
  12. Hi Sameet,

    It is good to know some technical codes and some most used ones are very necessary. We were in a training session in Tokyo. It was about rural telecommunication and the instructor mentioned that the device will return 200. Because one of the participant was not much versed, he dared to ask what is 200?

    Very funny, but sometimes ignorance costs!

    Most of the bloggers, I believe know some of the codes like 400, 403, 500 and so on!

    ReplyDelete
    Replies
    1. Yes, I agree with you Suresh, It is not important to memorize all the codes, But it is important to atleast know some of the most common HTTP Errors.

      Delete
  13. Great Post. Thanks for sharing. We all internet users every time come upon such errors and it is necessary for all to know what the error is and how can we solve it.

    ReplyDelete
  14. Hi Sumeet,
    Very informative article. I heard about 301 and 404 errors but never heard other HTTP errors. The article is very helpful for me. Thanks for share!!

    Thanks,
    Arindam

    ReplyDelete
  15. Hi Sumeet,
    Thanks for the post.i always get 404 error,403 forbidden but never knew what it meant.
    after reading your post i am aware of different HTTP errors.
    Thanks and continue the good work.

    ReplyDelete
  16. hello sumeet, thanks for sharing http errors, now i sorted out the difference between the 404 and 403. now my concepts are clear

    ReplyDelete