{"record":{"id":"7c2cd4a0b1ed3daa","repo":"phacility/phabricator","slug":"no-such-configuration-key-s-use-s-to-list-a","errorCode":null,"errorMessage":"No such configuration key '%s'! Use `%s` to list all keys.","messagePattern":"No such configuration key '(.+?)'! Use `(.+?)` to list all keys\\.","errorType":"console","errorClass":"PhutilArgumentUsageException","httpStatus":null,"severity":"error","filePath":"src/applications/config/management/PhabricatorConfigManagementGetWorkflow.php","lineNumber":38,"sourceCode":"  public function execute(PhutilArgumentParser $args) {\n    $console = PhutilConsole::getConsole();\n\n    $argv = $args->getArg('args');\n    if (count($argv) == 0) {\n      throw new PhutilArgumentUsageException(\n        pht('Specify a configuration key to get.'));\n    }\n\n    $key = $argv[0];\n\n    if (count($argv) > 1) {\n      throw new PhutilArgumentUsageException(\n        pht('Too many arguments: expected one key.'));\n    }\n\n    $options = PhabricatorApplicationConfigOptions::loadAllOptions();\n    if (empty($options[$key])) {\n      throw new PhutilArgumentUsageException(\n        pht(\n          \"No such configuration key '%s'! Use `%s` to list all keys.\",\n          $key,\n          'config list'));\n    }\n\n    $values = array();\n    $config = new PhabricatorConfigLocalSource();\n    $local_value = $config->getKeys(array($key));\n    if (empty($local_value)) {\n      $values['local'] = array(\n        'key' => $key,\n        'value' => null,\n        'status' => 'unset',\n        'errorInfo' => null,\n      );\n    } else {\n      $values['local'] = array(","sourceCodeStart":20,"sourceCodeEnd":56,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/config/management/PhabricatorConfigManagementGetWorkflow.php#L20-L56","documentation":"Error \"No such configuration key '%s'! Use `%s` to list all keys.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/config/management/PhabricatorConfigManagementGetWorkflow.php:38 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"}