{"record":{"id":"0ed686c0e38f07d1","repo":"phacility/phabricator","slug":"no-repository-phid-for-path-s","errorCode":null,"errorMessage":"No repository PHID for path \"%s\"!","messagePattern":"No repository PHID for path \"(.+?)\"!","errorType":"exception","errorClass":"Exception","httpStatus":500,"severity":"error","filePath":"src/applications/owners/controller/PhabricatorOwnersPathsController.php","lineNumber":31,"sourceCode":"        array(\n          PhabricatorPolicyCapability::CAN_VIEW,\n          PhabricatorPolicyCapability::CAN_EDIT,\n        ))\n      ->needPaths(true)\n      ->executeOne();\n    if (!$package) {\n      return new Aphront404Response();\n    }\n\n    if ($request->isFormPost()) {\n      $paths = $request->getArr('path');\n      $repos = $request->getArr('repo');\n      $excludes = $request->getArr('exclude');\n\n      $path_refs = array();\n      foreach ($paths as $key => $path) {\n        if (!isset($repos[$key]) || !strlen($repos[$key])) {\n          throw new Exception(\n            pht(\n              'No repository PHID for path \"%s\"!',\n              $key));\n        }\n\n        if (!isset($excludes[$key])) {\n          throw new Exception(\n            pht(\n              'No exclusion value for path \"%s\"!',\n              $key));\n        }\n\n        $path_refs[] = array(\n          'repositoryPHID' => $repos[$key],\n          'path' => $path,\n          'excluded' => (int)$excludes[$key],\n        );\n      }","sourceCodeStart":13,"sourceCodeEnd":49,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/owners/controller/PhabricatorOwnersPathsController.php#L13-L49","documentation":"Error \"No repository PHID for path \"%s\"!\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/owners/controller/PhabricatorOwnersPathsController.php:31 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"}