HTTP 422 · bad-patch — ← all Webpath errors
The ?replace patch batch is malformed.
How to recover. Send patches as a list of {selector,index,count,html} objects.
Example response
{
"type": "https://muse.as/a/webpath/errors/bad-patch",
"title": "Invalid patch batch",
"status": 422,
"detail": "Send patches as a list of {selector,index,count,html} objects."
}
This page documents the bad-patch error type returned in Webpath RFC 7807
application/problem+json responses. The machine-readable detail field carries a recovery
hint you can show a user verbatim — see the Spec §12 and
API Reference.