{"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":"Ownership guard in DifferentialRevisionReclaimTransaction::validateAction: the acting viewer is not the revision author, so reclaim is refused. Note this check has no config override (unlike abandon or close); reclaiming an abandoned revision back into review is strictly limited to the owner who abandoned it or owns it now.","triggerScenarios":"Thrown at src/applications/differential/xaction/DifferentialRevisionReclaimTransaction.php:71 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Ask the revision author to reclaim the revision","If the author is unavailable, an administrator can make the required status change on their behalf or transfer ownership via commandeer (if permitted by revision state)","Confirm you are logged in as the intended user before retrying"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5720a38cfe95b00ca4be5016dd0d2f3195f4fa04","analyzedAt":"2026-08-21T05:07:25.672Z","contentChangedAt":"2026-08-21T05:07:25.672Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}