The server will not serve this resource for legal reasons — a court order, a government block or a takedown that applies to the requester.
Defined in RFC 7725 §3 — 451 Unavailable For Legal Reasons · MDN reference
Content blocked in particular countries, takedowns under copyright law and court orders. The number is a nod to Ray Bradbury's Fahrenheit 451.
Mainly a test of messaging: does your client tell the user the content is legally unavailable, rather than reporting a generic error or offering a retry?
Do not retry; it will not change. Show the explanation from the body. The response may name the blocking entity in a Link header with rel="blocked-by".
1 endpoint in this playground answers with 451. Every one is free, needs no signup, and can be called from the browser or with curl.
GET https://funapi.dev/api/faults/v1/status/{code} — Return any status code on demand (200–599) (Fault Injection API) Open & run this endpointAll HTTP status codes · All 39 mock REST APIs · Getting started guide
Last updated