HTTP/4xx (Client Error)
410 Gone
Indicates that the target resource is no longer available at the origin server and that this condition is likely to be permanent.
❓ Why does this happen?
Intentionally purged content that search engines should de-index immediately.
✅ How to fix it
Remove links to the resource; notify users that the resource was permanently retired.
Return or handle 410 in your stack
// app/api/resource/route.ts
export function GET() {
return Response.json(
{ error: "Gone", status: 410 },
{
status: 410
}
);
}Live 410 mock endpoint
Point your app, tests, or retry logic at this free public URL to reproduce a real 410 response (CORS enabled, optional ?delay=ms up to 5000).
https://castov.com/api/mock/410410 vs similar status codes
Frequently Asked Questions
What does HTTP Status 410 mean?
Why am I getting a 410 status code?
How do I fix a 410 Gone error?
What is the difference between 410 Gone and 404 Not Found?
How can I test how my app handles a 410 response?
Other 4xx status codes
Browse the full HTTP status codes directory or troubleshoot terminal errors in the Error Fix Encyclopedia.