451 Unavailable For Legal Reasons

HTTP 451 Unavailable For Legal Reasons is a 4xx client error status. Access is denied because of a legal demand, such as a court order or government block.

451Status code
4xxClient error
NoCacheable by default
RFC 7725Defined in

Common causes

What to do

The number refers to the novel Fahrenheit 451.

Example response

HTTP/1.1 451 Unavailable For Legal Reasons
Content-Type: application/problem+json

{"status":451,"title":"Unavailable For Legal Reasons"}

Returning 451 in code

Express   res.status(451).json({ … });
Flask     return jsonify(…), 451
PHP       http_response_code(451);
Go        w.WriteHeader(451)
nginx     return 451;

Other 4xx codes

Frequently asked questions

What does HTTP 451 mean?
Access is denied because of a legal demand, such as a court order or government block.
Is 451 an error?
Yes. It is a client error: the request needs to change before retrying.
Does a 451 hurt SEO?
If search engines see it repeatedly on pages that should rank, those pages can be dropped from the index. Fix it quickly.