- 4xx Client Error
- Observability Logs
- 400 Bad Request
- 401 Unauthorized
- 402 Payment Required
- 403 Forbidden
- 404 Not Found
- 405 Method Not Allowed
- 406 Not Acceptable
- 407 Authentication Required
- 408 Request Timeout
- 409 Conflict
- 410 Gone
- 411 Length Required
- 412 Precondition Failed
- 413 Payload Too Large
- 414 URI Too Long
- 415 Unsupported Media Type
- 416 Range Not Satisfiable
- 417 Expectation Failed
- 421 Misdirected Request
- 429 Too Many Requests
- 451 Unavailable For Legal Reason
- 499 Client Close Request
- On this page
4xx Client Error
Last updated Oct 15, 2026
4xx codes are error responses that indicate an issue on the client's end, potentially due to a network problem.
4xxcodes 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
HEADrequest. - Custom rules can return any response code in the range of
400–499on 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.
Observability Logs
Log Explorer (Legacy) provides access to Cloudflare logs with all the context available within the Cloudflare platform. If your account has the Log Explorer add-on, go to Observability > Logs in the dashboard and build a query that filters for a specific Ray ID to investigate HTTP errors.
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 9110 ↗︎.
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.
421 Misdirected Request
For a complete description of this error refer to the Error 421 page.
429 Too Many Requests
For a complete description of this error refer to the Error 429 page.
451 Unavailable For Legal Reason
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.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/4xx-client-error/#page","headline":"4xx Client Error","description":"Troubleshoot 4xx client error HTTP status codes.","url":"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/4xx-client-error/","inLanguage":"en","image":"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/4xx-client-error/og.png?v=4496835fd1cea029","dateModified":"2026-10-15","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Troubleshoot HTTP 400 error responses. title: Error 400 image: https://developers.cloudflare.com/support/troubleshooting/http-status-codes/4xx-client-error/error-400/og.png?v=d8b9d37f20816304
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/support/llms.txt
Use this file to discover all available pages before exploring further.
Docs