phacility/phabricator · error · Exception

You can not reclaim this revision because you are not the…

Error message

You can not reclaim this revision because you are not the revision author. You can only reclaim revisions you own.

What it means

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.

Solutions

  1. Ask the revision author to reclaim the revision
  2. 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)
  3. Confirm you are logged in as the intended user before retrying
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at src/applications/differential/xaction/DifferentialRevisionReclaimTransaction.php:71 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of phacility/phabricator@5720a38cfe (2026-08-21). Data as JSON: /api/errors/88e193e92073be5d. Report an issue: GitHub.

Appendix: source

Thrown at src/applications/differential/xaction/DifferentialRevisionReclaimTransaction.php:71

  public function applyInternalEffects($object, $value) {
    if ($object->getShouldBroadcast()) {
      $new_status = DifferentialRevisionStatus::NEEDS_REVIEW;
    } else {
      $new_status = DifferentialRevisionStatus::DRAFT;
    }
    $object->setModernRevisionStatus($new_status);
  }

  protected function validateAction($object, PhabricatorUser $viewer) {
    if (!$object->isAbandoned()) {
      throw new Exception(
        pht(
          'You can not reclaim this revision because it has not been '.
          'abandoned. Only abandoned revisions can be reclaimed.'));
    }

    if (!$this->isViewerRevisionAuthor($object, $viewer)) {
      throw new Exception(
        pht(
          'You can not reclaim this revision because you are not the '.
          'revision author. You can only reclaim revisions you own.'));
    }
  }

  public function getTitle() {
    return pht(
      '%s reclaimed this revision.',
      $this->renderAuthor());
  }

  public function getTitleForFeed() {
    return pht(
      '%s reclaimed %s.',
      $this->renderAuthor(),
      $this->renderObject());
  }

View on GitHub (pinned to 5720a38cfe)