phacility/phabricator · error · PhutilArgumentUsageException
No such configuration key '%s'! Use `%s` to list all keys.
Error message
No such configuration key '%s'! Use `%s` to list all keys.
What it means
Error "No such configuration key '%s'! Use `%s` to list all keys." thrown in phacility/phabricator.
Source
Thrown at src/applications/config/management/PhabricatorConfigManagementGetWorkflow.php:38
public function execute(PhutilArgumentParser $args) {
$console = PhutilConsole::getConsole();
$argv = $args->getArg('args');
if (count($argv) == 0) {
throw new PhutilArgumentUsageException(
pht('Specify a configuration key to get.'));
}
$key = $argv[0];
if (count($argv) > 1) {
throw new PhutilArgumentUsageException(
pht('Too many arguments: expected one key.'));
}
$options = PhabricatorApplicationConfigOptions::loadAllOptions();
if (empty($options[$key])) {
throw new PhutilArgumentUsageException(
pht(
"No such configuration key '%s'! Use `%s` to list all keys.",
$key,
'config list'));
}
$values = array();
$config = new PhabricatorConfigLocalSource();
$local_value = $config->getKeys(array($key));
if (empty($local_value)) {
$values['local'] = array(
'key' => $key,
'value' => null,
'status' => 'unset',
'errorInfo' => null,
);
} else {
$values['local'] = array(View on GitHub (pinned to 5720a38cfe)
When it happens
Trigger: Thrown at src/applications/config/management/PhabricatorConfigManagementGetWorkflow.php:38 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/7c2cd4a0b1ed3daa.
Report an issue: GitHub.