phacility/phabricator · error · Exception

You can not plan changes to this revision because you do…

Error message

You can not plan changes to this revision because you do not own it. Only the author of a revision can plan changes to it.

What it means

Ownership guard in DifferentialRevisionPlanChangesTransaction::validateAction: the acting viewer is not the revision author (isViewerRevisionAuthor returned false). Unlike abandon/close there is no config override for this action — planning changes is strictly reserved for the revision owner, because it represents the author declaring they will revise the change.

Solutions

  1. Ask the revision author to perform the 'Plan Changes' action
  2. If you are the author, confirm you are authenticated as the correct account (and that a bot/Herald rule did not author the revision under another PHID)
  3. Reviewers wanting changes should use 'Request Changes' instead, which is the reviewer-side equivalent
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at src/applications/differential/xaction/DifferentialRevisionPlanChangesTransaction.php:94 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/2b855e76848a0738. Report an issue: GitHub.

Appendix: source

Thrown at src/applications/differential/xaction/DifferentialRevisionPlanChangesTransaction.php:94

    }

    if ($object->isChangePlanned()) {
      throw new Exception(
        pht(
          'You can not request review of this revision because this '.
          'revision is already under review and the action would have '.
          'no effect.'));
    }

    if ($object->isClosed()) {
      throw new Exception(
        pht(
          'You can not plan changes to this this revision because it has '.
          'already been closed.'));
    }

    if (!$this->isViewerRevisionAuthor($object, $viewer)) {
      throw new Exception(
        pht(
          'You can not plan changes to this revision because you do not '.
          'own it. Only the author of a revision can plan changes to it.'));
    }
  }

  public function getTitle() {
    if ($this->isDraftDemotion()) {
      return pht(
        '%s returned this revision to the author for changes because remote '.
        'builds failed.',
        $this->renderAuthor());
    } else {
      return pht(
        '%s planned changes to this revision.',
        $this->renderAuthor());
    }
  }

View on GitHub (pinned to 5720a38cfe)