phacility/phabricator · error · Exception

You can not request review of this revision because you are

Error message

You can not request review of this revision because you are not the author of the revision and it is not currently a draft.

What it means

Error "You can not request review of this revision because you are not the author of the revision and it is not currently a draft." thrown in phacility/phabricator.

Source

Thrown at src/applications/differential/xaction/DifferentialRevisionRequestReviewTransaction.php:187

    DifferentialRevision $revision,
    PhabricatorUser $viewer) {

    $is_harbormaster = $viewer->isOmnipotent();
    $is_author = $this->isViewerRevisionAuthor($revision, $viewer);
    $is_draft = $revision->isDraft();

    if ($is_harbormaster) {
      // When revisions automatically promote out of "Draft" after builds
      // finish, the viewer may be acting as the Harbormaster application.
      $source = self::SOURCE_HARBORMASTER;
    } else if ($is_author) {
      $source = self::SOURCE_AUTHOR;
    } else if ($is_draft) {
      // Non-authors are allowed to "Request Review" on draft revisions, to
      // force them into review immediately.
      $source = self::SOURCE_VIEWER;
    } else {
      throw new Exception(
        pht(
          'You can not request review of this revision because you are not '.
          'the author of the revision and it is not currently a draft.'));
    }

    return $source;
  }

}

View on GitHub (pinned to 5720a38cfe)

When it happens

Trigger: Thrown at src/applications/differential/xaction/DifferentialRevisionRequestReviewTransaction.php:187 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/8c5b99d49b65f077. Report an issue: GitHub.