{"record":{"id":"49bb292ce14d6015","repo":"phacility/phabricator","slug":"this-repository-s-is-not-writable-with-the-gi","errorCode":null,"errorMessage":"This repository (\"%s\") is not writable with the given protocols (%s). The Almanac service for this repository has no writable bindings that support these protocols.","messagePattern":"This repository \\(\"(.+?)\"\\) is not writable with the given protocols \\((.+?)\\)\\. The Almanac service for this repository has no writable bindings that support these protocols\\.","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/applications/repository/storage/PhabricatorRepository.php","lineNumber":1987,"sourceCode":"            $this->getDisplayName()));\n      }\n    }\n\n    $refs = array();\n    foreach ($results as $result) {\n      $refs[] = DiffusionServiceRef::newFromDictionary($result);\n    }\n\n    // If we require a writable device, remove URIs which aren't writable.\n    if ($writable) {\n      foreach ($refs as $key => $ref) {\n        if (!$ref->isWritable()) {\n          unset($refs[$key]);\n        }\n      }\n\n      if (!$refs) {\n        throw new Exception(\n          pht(\n            'This repository (\"%s\") is not writable with the given '.\n            'protocols (%s). The Almanac service for this repository has no '.\n            'writable bindings that support these protocols.',\n            $this->getDisplayName(),\n            implode(', ', $protocols)));\n      }\n    }\n\n    if ($writable) {\n      $refs = $this->sortWritableAlmanacServiceRefs($refs);\n    } else {\n      $refs = $this->sortReadableAlmanacServiceRefs($refs);\n    }\n\n    return array_values($refs);\n  }\n","sourceCodeStart":1969,"sourceCodeEnd":2005,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/repository/storage/PhabricatorRepository.php#L1969-L2005","documentation":"Error \"This repository (\"%s\") is not writable with the given protocols (%s). The Almanac service for this repository has no writable bindings that support these protocols.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/repository/storage/PhabricatorRepository.php:1987 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"}