information

4XX Status Codes

reading time

7 minutes

visibility

Overview

This section will teach you what the error codes are, as well as the characteristics of each one. You will need to find these codes in the game to progress. A reference to MDN Web Docs is provided for deeper learning.

The old CityRail logo (superseded by Sydney Trains), indicating two slightly blurred arrows traveling in opposite directions.

The Beginning of Something Big

A big leap takes a little courage.
Let's start by learning what a 4XX status code is. HTTP (HyperText Protocol Transfer) status codes are simply universal "codes", or numbers, that the server responds with. Basic HTTP response codes that you may recognise include 200 OK and 404 Not Found.
The Xs in 4XX are simply placeholders for other numbers. 4XX (also commonly known as 400-499 codes) are known as client-side error codes, meaning that the error is usually a result of a fault on the client's end (in this case, the client is you!).

Begin your learning journey today by reading a one-sentence summary of each 4XX HTTP status code (client-side). There are, however, certain codes omitted from the game, as I am unable to replicate them.
The below codes are the ones you will need to find in the game.

The server cannot, or refuses to, process the client’s request due to an error made by the client.
Read more at MDN Web Docs

The client is unauthorised to access the information or data requested.
Read more at MDN Web Docs

The client, although known to the server, is unauthorised to access the information or data requested.
Read more at MDN Web Docs

The server could not locate the requested resource using the path provided by the client.
Read more at MDN Web Docs

The request method is known to the server, but is not permitted by the same server.
Read more at MDN Web Docs

The server could not produce a response which complies with the acceptable values provided by the client, and is unwilling to provide the default response. This response is related to Content Negotiation practises.
Read more at MDN Web Docs

Similar to 401 - Unauthorised, except the authentication must be performed by a proxy.
Read more at MDN Web Docs

The server is in an idle state, or shut down the connection.
Read more at MDN Web Docs

The request conflicts with the status of the server.
Read more at MDN Web Docs

The requested content has been remove, andd no replacement is provided.
Read more at MDN Web Docs

The content-length header is required by the server, but not provided by the client.
Read more at MDN Web Docs

The client has provided preconditions which the server does not meet.
Read more at MDN Web Docs

The payload sent by the client is larger than the limits provided by the server.
Read more at MDN Web Docs

The payload format is unsupported by the server, or the server supports it, but won't accept it.
Read more at MDN Web Docs

The URI provided by the client is longer than the server is willing to interpret, or the URL loops on itself due to a faulty redirection.
Read more at MDN Web Docs

The expect header value could not be fulfilled by the server.
Read more at MDN Web Docs

The server is, permanently, a teapot and, therefore, cannot and refuses to brew coffee.
Read more at MDN Web Docs

The addressed server could not process the request.
Read more at MDN Web Docs

The server is unwilling to process a request which may be replayed
Read more at MDN Web Docs

The server is unwilling to complete the request on the current protocol, but can do so after upgrading to an alternate one.
Read more at MDN Web Docs

The server required the request to be a conditional.
Read more at MDN Web Docs

The client sent too many requests within a certain timeframe.
Read more at MDN Web Docs

The server is unwilling to process the request as the request headers are too large.
Read more at MDN Web Docs

The server cannot provide the resource due to legal complications.
Read more at MDN Web Docs