Skip to content

already_exists

Error codeView as Markdown

Something with this name already exists. Something with that name already exists here. Names are unique within their parent.

  • HTTP status: 409 Conflict
  • 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

Choose a different name, or update the existing {resource_type}.

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

{
"type": "https://guv.dev/errors/already_exists",
"title": "Something with this name already exists",
"status": 409,
"code": "already_exists",
"detail": "Something with that name already exists here.",
"fix": "Choose a different name, or update the existing {resource_type}.",
"docs_url": "https://guv.dev/errors/already_exists",
"request_id": "req_01jbx2m9k7q4r8t5v6w3y0z1rq"
}

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