Skip to main content
HTTP/2xx (Success)

207 Multi-Status

WebDAV response conveying multiple independent status codes for several sub-requests in an XML body.

❓ Why does this happen?

Batch operations where some items succeeded and others failed.

✅ How to fix it

Parse each <response> element individually instead of trusting the top-level 207 as total success.

Return or handle 207 in your stack

// app/api/resource/route.ts
export function GET() {
  return Response.json(
    { error: "Multi-Status", status: 207 },
    {
      status: 207
    }
  );
}

Live 207 mock endpoint

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

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

Frequently Asked Questions

What does HTTP Status 207 mean?
WebDAV response conveying multiple independent status codes for several sub-requests in an XML body.
Why am I getting a 207 status code?
Batch operations where some items succeeded and others failed.
How do I fix a 207 Multi-Status error?
Parse each <response> element individually instead of trusting the top-level 207 as total success.
How can I test how my app handles a 207 response?
Send a request to https://castov.com/api/mock/207 — it returns a real 207 Multi-Status 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.