All HTTP status codes

HTTP 451 Unavailable For Legal Reasons

Client Error

Access is denied for legal reasons — court orders, government censorship, or geo-specific legal restrictions (the number nods to Fahrenheit 451).

Defined in RFC 7725

Common causes

  • Geo-blocking for legal compliance (e.g. GDPR-era news blocks)
  • Content removed under court order/DMCA

How to fix it

  1. Surface the legal notice to users; the Link header may reference the blocking authority

  2. Serve compliant content per region rather than blanket-blocking, when possible

Want to explore status codes interactively? Try the free HTTP Status Code Reference — search, categories and example responses, right in your browser.