phacility/phabricator · error · PhabricatorApplicationTransactionValidationException

The package key "%s" is already in use by another package pr

Error message

The package key "%s" is already in use by another package provided by this publisher.

What it means

Error "The package key "%s" is already in use by another package provided by this publisher." thrown in phacility/phabricator.

Source

Thrown at src/applications/packages/editor/PhabricatorPackagesPackageEditor.php:46

    return array();
  }

  protected function didCatchDuplicateKeyException(
    PhabricatorLiskDAO $object,
    array $xactions,
    Exception $ex) {

    $errors = array();
    $errors[] = new PhabricatorApplicationTransactionValidationError(
      PhabricatorPackagesPackageKeyTransaction::TRANSACTIONTYPE,
      pht('Duplicate'),
      pht(
        'The package key "%s" is already in use by another package provided '.
        'by this publisher.',
        $object->getPackageKey()),
      null);

    throw new PhabricatorApplicationTransactionValidationException($errors);
  }

}

View on GitHub (pinned to 5720a38cfe)

When it happens

Trigger: Thrown at src/applications/packages/editor/PhabricatorPackagesPackageEditor.php:46 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of phacility/phabricator@5720a38cfe (2026-08-21). Data as JSON: /api/errors/f416f30d9b13dac8. Report an issue: GitHub.