Skip to main content
HTTP 451 Unavailable For Legal Reasons
Access denied for legal reasons — censorship, sanctions or court orders.
4xx · Client error✗ not retryable — fix the request instead
In AI APIs specifically
AI providers return 451-style geo blocks in unsupported regions; a VPN exit node in a sanctioned country triggers this too.
Fix checklist
- Check the provider's supported-regions list.
- Verify your egress IP isn't routing through an unsupported region.
Spec: RFC reference
Related status codes
400 Bad Request
The server cannot process the request due to a client error — malformed JSON, invalid parameters, or schema violations..
401 UnauthorizedAuthentication is missing or invalid for this request..
402 Payment RequiredThe request requires payment — billing is not set up or a balance is exhausted..
403 ForbiddenThe server understood the request but refuses to authorize it — valid credentials, insufficient permission..