Skip to main content
HTTP/2xx (Success)

205 Reset Content

The server processed the request and asks the client to reset the document view (e.g. clear a form).

❓ Why does this happen?

Rarely used; returned after form submissions that should clear user input.

✅ How to fix it

Clear the form state in the client. Do not send a response body with 205.

Return or handle 205 in your stack

// app/api/resource/route.ts
export function GET() {
  // 205 must not include a response body
  return new Response(null, {
    status: 205
  });
}

Live 205 mock endpoint

Point your app, tests, or retry logic at this free public URL to reproduce a real 205 response (CORS enabled, optional ?delay=ms up to 5000).

https://castov.com/api/mock/205

Frequently Asked Questions

What does HTTP Status 205 mean?
The server processed the request and asks the client to reset the document view (e.g. clear a form).
Why am I getting a 205 status code?
Rarely used; returned after form submissions that should clear user input.
How do I fix a 205 Reset Content error?
Clear the form state in the client. Do not send a response body with 205.
How can I test how my app handles a 205 response?
Send a request to https://castov.com/api/mock/205 — it returns a real 205 Reset Content response with CORS enabled. Add ?delay=2000 to simulate a slow server.

Other 2xx status codes

Browse the full HTTP status codes directory or troubleshoot terminal errors in the Error Fix Encyclopedia.