{"record":{"id":"88e193e92073be5d","repo":"phacility/phabricator","slug":"you-can-not-reclaim-this-revision-because-you-are","errorCode":null,"errorMessage":"You can not reclaim this revision because you are not the revision author. You can only reclaim revisions you own.","messagePattern":"You can not reclaim this revision because you are not the revision author\\. You can only reclaim revisions you own\\.","errorType":"validation","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/applications/differential/xaction/DifferentialRevisionReclaimTransaction.php","lineNumber":71,"sourceCode":"  public function applyInternalEffects($object, $value) {\n    if ($object->getShouldBroadcast()) {\n      $new_status = DifferentialRevisionStatus::NEEDS_REVIEW;\n    } else {\n      $new_status = DifferentialRevisionStatus::DRAFT;\n    }\n    $object->setModernRevisionStatus($new_status);\n  }\n\n  protected function validateAction($object, PhabricatorUser $viewer) {\n    if (!$object->isAbandoned()) {\n      throw new Exception(\n        pht(\n          'You can not reclaim this revision because it has not been '.\n          'abandoned. Only abandoned revisions can be reclaimed.'));\n    }\n\n    if (!$this->isViewerRevisionAuthor($object, $viewer)) {\n      throw new Exception(\n        pht(\n          'You can not reclaim this revision because you are not the '.\n          'revision author. You can only reclaim revisions you own.'));\n    }\n  }\n\n  public function getTitle() {\n    return pht(\n      '%s reclaimed this revision.',\n      $this->renderAuthor());\n  }\n\n  public function getTitleForFeed() {\n    return pht(\n      '%s reclaimed %s.',\n      $this->renderAuthor(),\n      $this->renderObject());\n  }","sourceCodeStart":53,"sourceCodeEnd":89,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/differential/xaction/DifferentialRevisionReclaimTransaction.php#L53-L89","documentation":"Error \"You can not reclaim this revision because you are not the revision author. You can only reclaim revisions you own.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/differential/xaction/DifferentialRevisionReclaimTransaction.php:71 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"}