{"record":{"id":"faeda4a81fdc8e27","repo":"phacility/phabricator","slug":"you-can-not-request-changes-to-this-revision-becau-faeda4","errorCode":null,"errorMessage":"You can not request changes to this revision because you have already requested changes.","messagePattern":"You can not request changes to this revision because you have already requested changes\\.","errorType":"validation","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/applications/differential/xaction/DifferentialRevisionRejectTransaction.php","lineNumber":85,"sourceCode":"          'already been closed. You can only request changes to open '.\n          'revisions.'));\n    }\n\n    if ($this->isViewerRevisionAuthor($object, $viewer)) {\n      throw new Exception(\n        pht(\n          'You can not request changes to this revision because you are the '.\n          'revision author. You can only request changes to revisions you do '.\n          'not own.'));\n    }\n\n    if ($object->isDraft() || !$object->getShouldBroadcast()) {\n      throw new Exception(\n        pht('You can not request changes to a draft revision.'));\n    }\n\n    if ($this->isViewerFullyRejected($object, $viewer)) {\n      throw new Exception(\n        pht(\n          'You can not request changes to this revision because you have '.\n          'already requested changes.'));\n    }\n  }\n\n  public function getTitle() {\n    return pht(\n      '%s requested changes to this revision.',\n      $this->renderAuthor());\n  }\n\n  public function getTitleForFeed() {\n    return pht(\n      '%s requested changes to %s.',\n      $this->renderAuthor(),\n      $this->renderObject());\n  }","sourceCodeStart":67,"sourceCodeEnd":103,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/differential/xaction/DifferentialRevisionRejectTransaction.php#L67-L103","documentation":"Idempotency guard in DifferentialRevisionRejectTransaction::validateAction: isViewerFullyRejected reports that the acting viewer's review verdict on this revision is already 'rejected' (counting rejections on behalf of packages/projects under their authority). Requesting changes again would duplicate the existing verdict, so the editor blocks the no-op action.","triggerScenarios":"Thrown at src/applications/differential/xaction/DifferentialRevisionRejectTransaction.php:85 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["No action needed: your 'requested changes' verdict is already recorded","To switch your verdict to approval, use 'Accept Revision' instead of requesting changes again","If you rejected on behalf of a package/project, verify which reviewer identity holds the rejection before retrying"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5720a38cfe95b00ca4be5016dd0d2f3195f4fa04","analyzedAt":"2026-08-21T05:07:25.672Z","contentChangedAt":"2026-08-21T05:07:25.672Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}