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/207Frequently Asked Questions
What does HTTP Status 207 mean?
Why am I getting a 207 status code?
How do I fix a 207 Multi-Status error?
How can I test how my app handles a 207 response?
Other 2xx status codes
Browse the full HTTP status codes directory or troubleshoot terminal errors in the Error Fix Encyclopedia.