phacility/phabricator · error · Exception
Package key "%s" is not valid: package keys may only contain
Error message
Package key "%s" is not valid: package keys may only contain lowercase latin letters.
What it means
Error "Package key "%s" is not valid: package keys may only contain lowercase latin letters." thrown in phacility/phabricator.
Source
Thrown at src/applications/packages/storage/PhabricatorPackagesPackage.php:121
if (!$length) {
throw new Exception(
pht(
'Package key "%s" is not valid: package keys are required.',
$value));
}
$max_length = 64;
if ($length > $max_length) {
throw new Exception(
pht(
'Package key "%s" is not valid: package keys must not be '.
'more than %s characters long.',
$value,
new PhutilNumber($max_length)));
}
if (!preg_match('/^[a-z]+\z/', $value)) {
throw new Exception(
pht(
'Package key "%s" is not valid: package keys may only contain '.
'lowercase latin letters.',
$value));
}
}
/* -( PhabricatorSubscribableInterface )----------------------------------- */
public function isAutomaticallySubscribed($phid) {
return false;
}
/* -( Policy Interface )--------------------------------------------------- */
View on GitHub (pinned to 5720a38cfe)
When it happens
Trigger: Thrown at src/applications/packages/storage/PhabricatorPackagesPackage.php:121 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/56535eabc950d5c2.
Report an issue: GitHub.