HTTP 4xx
451 Unavailable For Legal Reasons
The resource is unavailable due to a legal demand, such as a government block or a takedown.
What causes it
- Court orders, censorship, or DMCA takedowns.
How to fix it
Not a technical fault. The content is being withheld for legal reasons.
Seeing a 451 on a site you don't run? Check whether it's down for everyone from fifteen regions before you blame your own connection.
Example response
A typical raw HTTP response a client receives for a 451, with the headers this code is defined around.
HTTP/1.1 451 Unavailable For Legal Reasons
Content-Type: text/html; charset=utf-8Related codes
400Common
Bad RequestThe server could not understand the request, usually because it was malformed.401Common
UnauthorizedAuthentication is required and has failed or not been provided.403Common
ForbiddenThe server understood the request but refuses to authorize it. Unlike 401, authenticating will not help.404Common
Not FoundThe server could not find the requested resource. The URL may be wrong or the resource may have been removed.405
Method Not AllowedThe HTTP method is not supported for this resource, for example a POST to a read-only endpoint.406Common
Not AcceptableThe server cannot produce a response matching the Accept headers the client sent. In practice it is far more often a web application firewall (ModSecurity, a hosting panel rule) rejecting a request it judged suspicious, since 406 is the default status for a ModSecurity denial.Know before your visitors do.
Sentinel checks your site around the clock from multiple regions and alerts you the moment it starts returning a 4xx error, so you can fix it before it costs you.