phacility/phabricator · error · Exception

The callsign "%s" is not a valid repository callsign. Callsi

Error message

The callsign "%s" is not a valid repository callsign. Callsigns must be no more than 32 bytes long.

What it means

Error "The callsign "%s" is not a valid repository callsign. Callsigns must be no more than 32 bytes long." thrown in phacility/phabricator.

Source

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

    if (preg_match('/\\.git/', $slug)) {
      throw new Exception(
        pht(
          'The name "%s" is not a valid repository short name. Repository '.
          'short names must not end in ".git". This suffix will be added '.
          'automatically in appropriate contexts.',
          $slug));
    }
  }

  public static function assertValidCallsign($callsign) {
    if (!strlen($callsign)) {
      throw new Exception(
        pht(
          'A repository callsign must be at least one character long.'));
    }

    if (strlen($callsign) > 32) {
      throw new Exception(
        pht(
          'The callsign "%s" is not a valid repository callsign. Callsigns '.
          'must be no more than 32 bytes long.',
          $callsign));
    }

    if (!preg_match('/^[A-Z]+\z/', $callsign)) {
      throw new Exception(
        pht(
          'The callsign "%s" is not a valid repository callsign. Callsigns '.
          'may only contain UPPERCASE letters.',
          $callsign));
    }
  }

  public function getProfileImageURI() {
    return $this->getProfileImageFile()->getBestURI();
  }

View on GitHub (pinned to 5720a38cfe)

When it happens

Trigger: Thrown at src/applications/repository/storage/PhabricatorRepository.php:454 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/e374456286dfe566. Report an issue: GitHub.