{"record":{"id":"f416f30d9b13dac8","repo":"phacility/phabricator","slug":"the-package-key-s-is-already-in-use-by-another","errorCode":null,"errorMessage":"The package key \"%s\" is already in use by another package provided by this publisher.","messagePattern":"The package key \"(.+?)\" is already in use by another package provided by this publisher\\.","errorType":"validation","errorClass":"PhabricatorApplicationTransactionValidationException","httpStatus":null,"severity":"error","filePath":"src/applications/packages/editor/PhabricatorPackagesPackageEditor.php","lineNumber":46,"sourceCode":"    return array();\n  }\n\n  protected function didCatchDuplicateKeyException(\n    PhabricatorLiskDAO $object,\n    array $xactions,\n    Exception $ex) {\n\n    $errors = array();\n    $errors[] = new PhabricatorApplicationTransactionValidationError(\n      PhabricatorPackagesPackageKeyTransaction::TRANSACTIONTYPE,\n      pht('Duplicate'),\n      pht(\n        'The package key \"%s\" is already in use by another package provided '.\n        'by this publisher.',\n        $object->getPackageKey()),\n      null);\n\n    throw new PhabricatorApplicationTransactionValidationException($errors);\n  }\n\n}\n","sourceCodeStart":28,"sourceCodeEnd":50,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/packages/editor/PhabricatorPackagesPackageEditor.php#L28-L50","documentation":"Error \"The package key \"%s\" is already in use by another package provided by this publisher.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/packages/editor/PhabricatorPackagesPackageEditor.php:46 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5720a38cfe95b00ca4be5016dd0d2f3195f4fa04","analyzedAt":"2026-08-21T05:07:25.672Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}