{"record":{"id":"8125ed3577ed74e1","repo":"phacility/phabricator","slug":"failed-to-load-file-s-returned-by-s-8125ed","errorCode":null,"errorMessage":"Failed to load file (\"%s\") returned by \"%s\".","messagePattern":"Failed to load file \\(\"(.+?)\"\\) returned by \"(.+?)\"\\.","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/applications/diffusion/controller/DiffusionCommitController.php","lineNumber":886,"sourceCode":"    return $curtain;\n  }\n\n  private function buildRawDiffResponse(DiffusionRequest $drequest) {\n    $diff_info = $this->callConduitWithDiffusionRequest(\n      'diffusion.rawdiffquery',\n      array(\n        'commit' => $drequest->getCommit(),\n        'path' => $drequest->getPath(),\n      ));\n\n    $file_phid = $diff_info['filePHID'];\n\n    $file = id(new PhabricatorFileQuery())\n      ->setViewer($this->getViewer())\n      ->withPHIDs(array($file_phid))\n      ->executeOne();\n    if (!$file) {\n      throw new Exception(\n        pht(\n          'Failed to load file (\"%s\") returned by \"%s\".',\n          $file_phid,\n          'diffusion.rawdiffquery'));\n    }\n\n    return $file->getRedirectResponse();\n  }\n\n  private function renderAuditStatusView(\n    PhabricatorRepositoryCommit $commit,\n    array $audit_requests) {\n    assert_instances_of($audit_requests, 'PhabricatorRepositoryAuditRequest');\n    $viewer = $this->getViewer();\n\n    $view = new PHUIStatusListView();\n    foreach ($audit_requests as $request) {\n      $status = $request->getAuditRequestStatusObject();","sourceCodeStart":868,"sourceCodeEnd":904,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/diffusion/controller/DiffusionCommitController.php#L868-L904","documentation":"Error \"Failed to load file (\"%s\") returned by \"%s\".\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/diffusion/controller/DiffusionCommitController.php:886 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"}