SiteError.comYour friendly guide to HTTP status codes
Status CodesBlog
  1. Home
  2. 4xx Client Error
  3. 451 Unavailable For Legal Reasons

451 Unavailable For Legal Reasons

⚖️
451
Unavailable For Legal Reasons
!
?

Example HTTP Response

HTTP Response
HTTP/1.1 451 Unavailable For Legal Reasons
Link: <https://example.com/legal>; rel="blocked-by"
Common Causes
  • Government censorship
  • DMCA takedown
  • Court order blocking content
Technical Details

What does this mean?

The lawyers said no. Named after Fahrenheit 451, this page has been legally blocked. Big Brother is watching!

Technical Definition

The user agent requested a resource that cannot legally be provided.

RFC Says

"This status code indicates that the server is denying access to the resource as a consequence of a legal demand. The server in question might not be an origin server. This type of legal demand typically most directly affects the operations of ISPs and search engines."

Plain English:

451 means 'I can't show you this because of legal reasons.' Named after Ray Bradbury's 'Fahrenheit 451', it's used when content is blocked due to legal requirements like DMCA takedowns, court orders, or government censorship. Include details about who made the legal demand if possible.

Common Misinterpretation

Don't use 451 for general access control or business logic restrictions - use 403 for that. Use 451 specifically when you're legally prohibited from serving the content. It's a transparency status code to distinguish legal censorship from technical or policy-based blocks.

View RFC Documentation
Code Snippets

Ready-to-use code for returning this HTTP status in your application:

Node.js
// Express.js
app.get('/example', (req, res) => {
  res.status(451).json({
    error: 'Unavailable For Legal Reasons',
    message: 'Your error message here'
  });
});

// Native HTTP
const http = require('http');

http.createServer((req, res) => {
  res.writeHead(451, { 'Content-Type': 'application/json' });
  res.end(JSON.stringify({
    error: 'Unavailable For Legal Reasons',
    message: 'Your error message here'
  }));
}).listen(3000);

451 Unavailable For Legal Reasons FAQ

What causes a 451 Unavailable For Legal Reasons error?

Government censorship. DMCA takedown. Court order blocking content.

431 Request Header Fields Too Large500 Internal Server Error

Popular Status Codes

  • 200 OK
  • 301 Moved Permanently
  • 302 Found
  • 400 Bad Request
  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not Found
  • 500 Internal Server Error
  • 502 Bad Gateway
  • 503 Service Unavailable

Compare Codes

  • 401 vs 403
  • 301 vs 302
  • 404 vs 410
  • 500 vs 502
  • Compare any codes →

Categories

  • Informational
  • Success
  • Redirection
  • Client Error
  • Server Error
  • NGINX
  • Cloudflare
  • AWS ELB
  • Microsoft IIS

Tools

  • Cheat Sheet
  • Status Code Quiz
  • URL Checker
  • API Playground
  • Blog

© 2026 SiteError.com. All rights reserved.