{"record":{"id":"6e8355663e1be42f","repo":"phacility/phabricator","slug":"err-usage-room-not-found","errorCode":"ERR_USAGE_ROOM_NOT_FOUND","errorMessage":"ERR_USAGE_ROOM_NOT_FOUND","messagePattern":"ERR_USAGE_ROOM_NOT_FOUND","errorType":"error_code","errorClass":"ConduitException","httpStatus":null,"severity":"error","filePath":"src/applications/conpherence/conduit/ConpherenceUpdateThreadConduitAPIMethod.php","lineNumber":67,"sourceCode":"    );\n  }\n\n  protected function execute(ConduitAPIRequest $request) {\n    $user = $request->getUser();\n    $id = $request->getValue('id');\n    $phid = $request->getValue('phid');\n    $query = id(new ConpherenceThreadQuery())\n      ->setViewer($user);\n    if ($id) {\n      $query->withIDs(array($id));\n    } else if ($phid) {\n      $query->withPHIDs(array($phid));\n    } else {\n      throw new ConduitException('ERR_USAGE_NO_ROOM_ID');\n    }\n    $conpherence = $query->executeOne();\n    if (!$conpherence) {\n      throw new ConduitException('ERR_USAGE_ROOM_NOT_FOUND');\n    }\n\n    $source = $request->newContentSource();\n    $editor = id(new ConpherenceEditor())\n      ->setContentSource($source)\n      ->setActor($user);\n    $xactions = array();\n    $add_participant_phids = $request->getValue('addParticipantPHIDs', array());\n    $remove_participant_phid = $request->getValue('removeParticipantPHID');\n    $message = $request->getValue('message');\n    $title = $request->getValue('title');\n    if ($add_participant_phids) {\n      $xactions[] = id(new ConpherenceTransaction())\n        ->setTransactionType(\n          ConpherenceThreadParticipantsTransaction::TRANSACTIONTYPE)\n        ->setNewValue(array('+' => $add_participant_phids));\n    }\n    if ($remove_participant_phid) {","sourceCodeStart":49,"sourceCodeEnd":85,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/conpherence/conduit/ConpherenceUpdateThreadConduitAPIMethod.php#L49-L85","documentation":"Error \"ERR_USAGE_ROOM_NOT_FOUND\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/conpherence/conduit/ConpherenceUpdateThreadConduitAPIMethod.php:67 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"}