{"record":{"id":"77313e6c6ce5eabb","repo":"phacility/phabricator","slug":"git-lfs-operation-s-is-not-supported-by-this-se","errorCode":null,"errorMessage":"Git LFS operation \"%s\" is not supported by this server.","messagePattern":"Git LFS operation \"(.+?)\" is not supported by this server\\.","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/applications/diffusion/gitlfs/DiffusionGitLFSAuthenticateWorkflow.php","lineNumber":56,"sourceCode":"          'Expected `git-lfs-authenticate <path> <operation>`, but received '.\n          'too few arguments.'));\n    }\n\n    return $argv[$position];\n  }\n\n  protected function executeRepositoryOperations() {\n    $operation = $this->getLFSOperationArgument();\n\n    // NOTE: We aren't checking write access here, even for \"upload\". The\n    // HTTP endpoint should be able to do that for us.\n\n    switch ($operation) {\n      case 'upload':\n      case 'download':\n        break;\n      default:\n        throw new Exception(\n          pht(\n            'Git LFS operation \"%s\" is not supported by this server.',\n            $operation));\n    }\n\n    $repository = $this->getRepository();\n\n    if (!$repository->isGit()) {\n      throw new Exception(\n        pht(\n          'Repository \"%s\" is not a Git repository. Git LFS is only '.\n          'supported for Git repositories.',\n          $repository->getDisplayName()));\n    }\n\n    if (!$repository->canUseGitLFS()) {\n      throw new Exception(\n        pht('Git LFS is not enabled for this repository.'));","sourceCodeStart":38,"sourceCodeEnd":74,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/diffusion/gitlfs/DiffusionGitLFSAuthenticateWorkflow.php#L38-L74","documentation":"Error \"Git LFS operation \"%s\" is not supported by this server.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/diffusion/gitlfs/DiffusionGitLFSAuthenticateWorkflow.php:56 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"}