phacility/phabricator · error · Exception

The URI protocol is unrecognized. It should begin with "%s",

Error message

The URI protocol is unrecognized. It should begin with "%s", "%s", "%s", "%s", "%s", "%s", or be in the form "%s".

What it means

Error "The URI protocol is unrecognized. It should begin with "%s", "%s", "%s", "%s", "%s", "%s", or be in the form "%s"." thrown in phacility/phabricator.

Source

Thrown at src/applications/repository/storage/PhabricatorRepository.php:1677

            'proto://domain:/path',
            ':/path'));
      }
    }

    switch ($protocol) {
      case 'ssh':
      case 'http':
      case 'https':
      case 'git':
      case 'svn':
      case 'svn+ssh':
        break;
      default:
        // NOTE: We're explicitly rejecting 'file://' because it can be
        // used to clone from the working copy of another repository on disk
        // that you don't normally have permission to access.

        throw new Exception(
          pht(
            'The URI protocol is unrecognized. It should begin with '.
            '"%s", "%s", "%s", "%s", "%s", "%s", or be in the form "%s".',
            'ssh://',
            'http://',
            'https://',
            'git://',
            'svn://',
            'svn+ssh://',
            'git@domain.com:path'));
    }

    return true;
  }


  /**
   * Load the pull frequency for this repository, based on the time since the

View on GitHub (pinned to 5720a38cfe)

When it happens

Trigger: Thrown at src/applications/repository/storage/PhabricatorRepository.php:1677 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of phacility/phabricator@5720a38cfe (2026-08-21). Data as JSON: /api/errors/0b9fee36cd77fc87. Report an issue: GitHub.