{"record":{"id":"cfaa3439456739cf","repo":"phacility/phabricator","slug":"err-usage-no-room-id","errorCode":"ERR_USAGE_NO_ROOM_ID","errorMessage":"ERR_USAGE_NO_ROOM_ID","messagePattern":"ERR_USAGE_NO_ROOM_ID","errorType":"error_code","errorClass":"ConduitException","httpStatus":null,"severity":"error","filePath":"src/applications/conpherence/conduit/ConpherenceQueryTransactionConduitAPIMethod.php","lineNumber":54,"sourceCode":"    );\n  }\n\n  protected function execute(ConduitAPIRequest $request) {\n    $user = $request->getUser();\n    $room_id = $request->getValue('roomID');\n    $room_phid = $request->getValue('roomPHID');\n    $limit = $request->getValue('limit');\n    $offset = $request->getValue('offset');\n\n    $query = id(new ConpherenceThreadQuery())\n      ->setViewer($user);\n\n    if ($room_id) {\n      $query->withIDs(array($room_id));\n    } else if ($room_phid) {\n      $query->withPHIDs(array($room_phid));\n    } else {\n      throw new ConduitException('ERR_USAGE_NO_ROOM_ID');\n    }\n\n    $conpherence = $query->executeOne();\n\n    $query = id(new ConpherenceTransactionQuery())\n      ->setViewer($user)\n      ->withObjectPHIDs(array($conpherence->getPHID()))\n      ->setLimit($limit)\n      ->setOffset($offset);\n\n    $transactions = $query->execute();\n\n    $data = array();\n    foreach ($transactions as $transaction) {\n      $comment = null;\n      $comment_obj = $transaction->getComment();\n      if ($comment_obj) {\n        $comment = $comment_obj->getContent();","sourceCodeStart":36,"sourceCodeEnd":72,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/conpherence/conduit/ConpherenceQueryTransactionConduitAPIMethod.php#L36-L72","documentation":"Error \"ERR_USAGE_NO_ROOM_ID\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/conpherence/conduit/ConpherenceQueryTransactionConduitAPIMethod.php:54 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"}