Skip to main content

HTTP error codes

HTTP status codes are three-digit numerical values that the server returns in response to an HTTP request, indicating the result of its execution. These codes are divided into five main groups:

1xx — informational responses,

2xx — successful operations,

3xx — redirections,

4xx — errors caused by client actions,

5xx — errors that occurred on the server.

More details: 200 OK — Request completed successfully.

201 Created — New resource successfully created.

204 No Content — Request processed, but response body is absent.

3xx — Redirection: Require additional actions from the client to complete processing.

301 Moved Permanently — Resource permanently moved to a new address.

302 Found — Resource temporarily available at another address.

4xx — Client errors: Indicate incorrect actions from the client side.

400 Bad Request — Invalid or incorrect request.

401 Unauthorized — Authorization required.

403 Forbidden — Access to resource is forbidden.

404 Not Found — Resource not found.

405 Method Not Allowed — Used method is not supported for this resource.

5xx — Server errors: Signal malfunctions on the server side.

500 Internal Server Error — Internal server error.

502 Bad Gateway — Invalid gateway or proxy error.

503 Service Unavailable — Service temporarily unavailable.

504 Gateway Timeout — Gateway timeout expired.