phacility/phabricator · error · Exception
You can not request changes to a draft revision.
Error message
You can not request changes to a draft revision.
What it means
Draft guard in DifferentialRevisionRejectTransaction::validateAction: the revision is in Draft status or has not yet been promoted to broadcast (shouldBroadcast false). Reviewer verdicts like 'Request Changes' are locked on drafts because drafts are hidden works-in-progress that have not yet entered the review workflow.
Solutions
- Wait for the author to publish the revision out of draft (after builds, or via 'Request Review') before requesting changes
- If you are the author, use 'Plan Changes' (via API/CLI) or simply keep iterating on the draft
- Confirm the revision URL — drafts are often visited from links that predate publication
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/applications/differential/xaction/DifferentialRevisionRejectTransaction.php:80 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/131106b6fc71c64c.
Report an issue: GitHub.
Appendix: source
Thrown at src/applications/differential/xaction/DifferentialRevisionRejectTransaction.php:80
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.'));
}
}
public function getTitle() {
return pht(
'%s requested changes to this revision.',
$this->renderAuthor());
}
public function getTitleForFeed() {View on GitHub (pinned to 5720a38cfe)