Skip to content
Cloudflare Docs

4xx Client Error

4xx codes are error responses that indicate an issue on the client's end, potentially due to a network problem.

  • 4xx codes can be used as a response to any request method.
  • The origin server should include an explanation, which should be displayed by the User-Agent, except in the case of a HEAD request.
  • Custom rules can return any response code in the range of 400–499 on your HTML page if the site owner has created a rule with the Block action and configured a custom response code. For more details, refer to custom response.

400 Bad Request

For a complete description of this error refer to the Error 400 page.

401 Unauthorized

For a complete description of this error refer to the Error 401 page.

402 Payment Required

The 402 Payment Required status code is reserved for future use and is not yet implemented according to the standards outlined in RFC 7231.

403 Forbidden

For a complete description of this error refer to the Error 403 page.

404 Not Found

For a complete description of this error refer to the Error 404 page.

405 Method Not Allowed

For a complete description of this error refer to the Error 405 page.

406 Not Acceptable

For a complete description of this error refer to the Error 406 page.

407 Authentication Required

For a complete description of this error refer to the Error 407 page.

408 Request Timeout

For a complete description of this error refer to the Error 408 page.

409 Conflict

For a complete description of this error refer to the Error 409 page.

410 Gone

For a complete description of this error refer to the Error 410 page.

411 Length Required

For a complete description of this error refer to the Error 411 page.

412 Precondition Failed

For a complete description of this error refer to the Error 412 page.

413 Payload Too Large

For a complete description of this error refer to the Error 413 page.

414 URI Too Long

For a complete description of this error refer to the Error 414 page.

415 Unsupported Media Type

For a complete description of this error refer to the Error 415 page.

416 Range Not Satisfiable

For a complete description of this error refer to the Error 416 page.

417 Expectation Failed

For a complete description of this error refer to the Error 417 page.

429 Too Many Requests

For a complete description of this error refer to the Error 429 page.

For a complete description of this error refer to the Error 451 page.

499 Client Close Request

For a complete description of this error refer to the Error 499 page.