Skip to the content

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"

Share this tool:TwitterFacebookLinkedInWhatsAppEmail

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 ForbiddenRefused, without a legal reason being given.
410 GoneRemoved for good, for whatever reason.

All codes are on the list of HTTP status codes, which can be searched by number and by word.

See all 12