{"record":{"id":"2815600b9f632e95","repo":"phacility/phabricator","slug":"message-type-s-is-not-supported","errorCode":null,"errorMessage":"Message type \"%s\" is not supported.","messagePattern":"Message type \"(.+?)\" is not supported\\.","errorType":"validation","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/applications/harbormaster/conduit/HarbormasterSendMessageConduitAPIMethod.php","lineNumber":637,"sourceCode":"      ),\n      array(\n        'objectPHID' => $build->getPHID(),\n      ));\n\n    return null;\n  }\n\n  private function sendToBuild(\n    ConduitAPIRequest $request,\n    $message_type,\n    HarbormasterBuild $build) {\n    $viewer = $request->getViewer();\n\n    $xaction =\n      HarbormasterBuildMessageTransaction::getTransactionObjectForMessageType(\n        $message_type);\n    if (!$xaction) {\n      throw new Exception(\n        pht(\n          'Message type \"%s\" is not supported.',\n          $message_type));\n    }\n\n    // NOTE: This is a slightly weaker check than we perform in the web UI.\n    // We allow API callers to send a \"pause\" message to a pausing build,\n    // for example, even though the message will have no effect.\n    $xaction->assertCanApplyMessage($viewer, $build);\n\n    $build->sendMessage($viewer, $xaction->getHarbormasterBuildMessageType());\n  }\n\n  private function sendToBuildable(\n    ConduitAPIRequest $request,\n    $message_type,\n    HarbormasterBuildable $buildable) {\n    $viewer = $request->getViewer();","sourceCodeStart":619,"sourceCodeEnd":655,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/harbormaster/conduit/HarbormasterSendMessageConduitAPIMethod.php#L619-L655","documentation":"Error \"Message type \"%s\" is not supported.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/harbormaster/conduit/HarbormasterSendMessageConduitAPIMethod.php:637 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"}