~/devtools / http-status / 451
tool::http-status-detail

451 Unavailable For Legal Reasons

The resource is unavailable due to legal restrictions.

ad · 728×90
Status Code
451
Name
Unavailable For Legal Reasons
Category
4xx

Detailed Explanation

HTTP 451 Unavailable For Legal Reasons indicates a resource is inaccessible due to legal restrictions. It is used when content is blocked by DMCA copyright takedown notices, court orders, government censorship, or data protection laws such as GDPR's right to erasure. The status code name is a reference to Ray Bradbury's novel Fahrenheit 451.

Common Causes
  • Content blocked by a DMCA copyright infringement notice
  • Content removed by court order
  • Access prohibited by law in a specific jurisdiction
  • Deletion due to a GDPR Right to Be Forgotten request
How to Fix
  • 1.451 is an intentional legal compliance response — no technical fix applies
  • 2.If the legal basis expires (e.g., copyright expires), the content may be restored
  • 3.Use the Link header to reference the authority that issued the legal demand
  • 4.Include the blocking reason and responsible authority in the response body

Related HTTP Headers

Link

Response Example

HTTP/1.1 451 Unavailable For Legal Reasons
Link: <https://example.com/legal/notice>; rel="blocked-by"
Content-Type: application/json

{"error":"legal_restriction","message":"This content is unavailable due to a legal order"}

Related Status Codes

400Bad RequestThe server could not understand the request due to invalid syntax.401UnauthorizedAuthentication is required and has failed or not been provided.402Payment RequiredReserved for future use; some services use it for payment walls.403ForbiddenThe server refuses to fulfill the request (authenticated but unauthorized).404Not FoundThe requested resource could not be found.
ad · 300×250
Back to all status codes
// related tools
Cron Expression Generator
Build and parse cron expressions visually. Generate human-readable descriptions and preview next execution times.
jwt
JWT Decoder
Decode and inspect JWT tokens. View header, payload, and signature details.
rx
Regex Tester
Test regular expressions with live matching, group highlighting, and explanations.
Color Converter
Convert colors between HEX, RGB, HSL, and more. Pick colors visually.