phacility/phabricator · error · Exception
You can not request changes to this revision because it has…
Error message
You can not request changes to this revision because it has already been closed. You can only request changes to open revisions.
What it means
State guard in DifferentialRevisionRejectTransaction::validateAction: 'Request Changes' is refused because the revision is already closed (published/abandoned). Reviewer verdicts only apply to open revisions; after closure the review is over and reject/accept transitions are permanently blocked.
Solutions
- Check the revision status; if it landed, follow up with comments on the commit or a new revision rather than requesting changes
- If you expected the revision to still be open, reload the page — it may have been closed since you loaded it
- Ensure you are acting on the intended revision (correct D-id)
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/applications/differential/xaction/DifferentialRevisionRejectTransaction.php:64 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/82bb916a4714add5.
Report an issue: GitHub.
Appendix: source
Thrown at src/applications/differential/xaction/DifferentialRevisionRejectTransaction.php:64
public function getCommandSummary() {
return pht('Request changes to a revision.');
}
public function generateOldValue($object) {
$actor = $this->getActor();
return $this->isViewerFullyRejected($object, $actor);
}
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.'));
}View on GitHub (pinned to 5720a38cfe)