phacility/phabricator · error · Exception

You can not request changes to this revision because you…

Error message

You can not request changes to this revision because you are the revision author. You can only request changes to revisions you do not own.

What it means

Ownership guard in DifferentialRevisionRejectTransaction::validateAction: the acting viewer is the revision author, and 'Request Changes' is reviewer-facing. Unlike accept, this path has no config override — authors cannot reject their own revisions, since the verdict communicates to the author that changes are required.

Solutions

  1. Let an assigned reviewer request changes; the author cannot review their own revision
  2. If you are the author and want to signal rework, use 'Plan Changes' instead, which is the author-side equivalent
  3. Verify you are not authenticated as the author (bot-authored revisions commonly trip this check)
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at src/applications/differential/xaction/DifferentialRevisionRejectTransaction.php:72 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/9e5f04a4671224b5. Report an issue: GitHub.

Appendix: source

Thrown at src/applications/differential/xaction/DifferentialRevisionRejectTransaction.php:72

  }

  public function applyExternalEffects($object, $value) {
    $status = DifferentialReviewerStatus::STATUS_REJECTED;
    $actor = $this->getActor();
    $this->applyReviewerEffect($object, $actor, $value, $status);
  }

  protected function validateAction($object, PhabricatorUser $viewer) {
    if ($object->isClosed()) {
      throw new Exception(
        pht(
          'You can not request changes to this revision because it has '.
          'already been closed. You can only request changes to open '.
          'revisions.'));
    }

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

    if ($object->isDraft() || !$object->getShouldBroadcast()) {
      throw new Exception(
        pht('You can not request changes to a draft revision.'));
    }

    if ($this->isViewerFullyRejected($object, $viewer)) {
      throw new Exception(
        pht(
          'You can not request changes to this revision because you have '.
          'already requested changes.'));
    }
  }

View on GitHub (pinned to 5720a38cfe)