- Home
- Tools
- Developer Tools
- HTTP Status Codes
- 451 Unavailable For Legal Reasons
451 Unavailable For Legal Reasons
The server may not give access for a legal reason, such as a court order, a copyright claim or a government block.
- Class
- 4xx Client error. The request is the problem: a wrong address, missing credentials, data the server can't accept.
- Defined in
- RFC 7725
What it looks like
HTTP/1.1 451 Unavailable For Legal Reasons Link: <https://example.org/legal>; rel="blocked-by"
What causes it
When the operator of a site, or a provider on the way, is legally obliged to withhold the content, often only in certain countries. Since the GDPR took effect in 2018, a number of American news sites have answered 451 to visitors from the European Union. The response should explain the reason.
What to do about it
As a visitor there is little to do. The block is deliberate, and the same page may be available from another country. The explanation in the response says who is behind it.
If you run a site and have to block something, 451 is the honest code. The standard that defines it lets you name the party that demanded the block, in a Link header with rel="blocked-by".
Not to be confused with
| 403 Forbidden | Refused, without a legal reason being given. |
|---|---|
| 410 Gone | Removed for good, for whatever reason. |
All codes are on the list of HTTP status codes, which can be searched by number and by word.
Other 4xx codes
- 400 Bad Request
- 401 Unauthorized
- 402 Payment Required
- 403 Forbidden
- 404 Not Found
- 405 Method Not Allowed
- 406 Not Acceptable
- 407 Proxy Authentication Required
- 408 Request Timeout
- 409 Conflict
- 410 Gone
- 411 Length Required
- 412 Precondition Failed
- 413 Content Too Large
- 414 URI Too Long
- 415 Unsupported Media Type
- 416 Range Not Satisfiable
- 417 Expectation Failed
- 418 I'm a teapot
- 421 Misdirected Request
- 422 Unprocessable Content
- 423 Locked
- 424 Failed Dependency
- 425 Too Early
- 426 Upgrade Required
- 428 Precondition Required
- 429 Too Many Requests
- 431 Request Header Fields Too Large