Skip to content

confirmation_required

Error codeView as Markdown

This destructive action needs a typed confirmation. Deleting or overwriting something important needs you to type its name, so it cannot happen by accident or by a slip of an agent.

  • HTTP status: 422 Unprocessable Content
  • CLI exit code: 2 (the request or file is not valid)
  • Retry: not as it is; the same request will fail the same way until the cause is fixed

Repeat the request with confirm={name}.

  1. Repeat the request with confirm=<name> (the exact name of the thing being changed).

Words in {braces} are filled in from the error response, which names the exact resource.

{
"type": "https://guv.dev/errors/confirmation_required",
"title": "This destructive action needs a typed confirmation",
"status": 422,
"code": "confirmation_required",
"detail": "Deleting or overwriting something important needs you to type its name, so it cannot happen by accident or by a slip of an agent.",
"fix": "Repeat the request with confirm={name}.",
"docs_url": "https://guv.dev/errors/confirmation_required",
"request_id": "req_01jbx2m9k7q4r8t5v6w3y0z1rq"
}

The code field is stable: match on it, not on title or detail, which may be reworded.