{"record":{"id":"3cfc39a243a1ca4e","repo":"phacility/phabricator","slug":"required-parameter-parentpanelphids-is-not-prese","errorCode":null,"errorMessage":"Required parameter `parentPanelPHIDs` is not present in request.","messagePattern":"Required parameter `parentPanelPHIDs` is not present in request\\.","errorType":"validation","errorClass":"Exception","httpStatus":500,"severity":"error","filePath":"src/applications/dashboard/controller/panel/PhabricatorDashboardPanelRenderController.php","lineNumber":25,"sourceCode":"    return true;\n  }\n\n  public function handleRequest(AphrontRequest $request) {\n    $viewer = $request->getViewer();\n    $id = $request->getURIData('id');\n\n    $panel = id(new PhabricatorDashboardPanelQuery())\n      ->setViewer($viewer)\n      ->withIDs(array($id))\n      ->executeOne();\n    if (!$panel) {\n      return new Aphront404Response();\n    }\n\n    if ($request->isAjax()) {\n      $parent_phids = $request->getStrList('parentPanelPHIDs', null);\n      if ($parent_phids === null) {\n        throw new Exception(\n          pht(\n            'Required parameter `parentPanelPHIDs` is not present in '.\n            'request.'));\n      }\n    } else {\n      $parent_phids = array();\n    }\n\n    $engine = id(new PhabricatorDashboardPanelRenderingEngine())\n      ->setViewer($viewer)\n      ->setPanel($panel)\n      ->setPanelPHID($panel->getPHID())\n      ->setParentPanelPHIDs($parent_phids)\n      ->setMovable($request->getBool('movable'))\n      ->setHeaderMode($request->getStr('headerMode'))\n      ->setPanelKey($request->getStr('panelKey'));\n\n    $context_phid = $request->getStr('contextPHID');","sourceCodeStart":7,"sourceCodeEnd":43,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/dashboard/controller/panel/PhabricatorDashboardPanelRenderController.php#L7-L43","documentation":"Error \"Required parameter `parentPanelPHIDs` is not present in request.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/dashboard/controller/panel/PhabricatorDashboardPanelRenderController.php:25 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5720a38cfe95b00ca4be5016dd0d2f3195f4fa04","analyzedAt":"2026-08-21T05:07:25.672Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}