phacility/phabricator · error · Exception

No such file "%s"!

Error message

No such file "%s"!

What it means

Error "No such file "%s"!" thrown in phacility/phabricator.

Source

Thrown at src/applications/files/conduit/FileConduitAPIMethod.php:15

<?php

abstract class FileConduitAPIMethod extends ConduitAPIMethod {

  final public function getApplication() {
    return PhabricatorApplication::getByClass('PhabricatorFilesApplication');
  }

  protected function loadFileByPHID(PhabricatorUser $viewer, $file_phid) {
    $file = id(new PhabricatorFileQuery())
      ->setViewer($viewer)
      ->withPHIDs(array($file_phid))
      ->executeOne();
    if (!$file) {
      throw new Exception(pht('No such file "%s"!', $file_phid));
    }

    return $file;
  }

  protected function loadFileChunks(
    PhabricatorUser $viewer,
    PhabricatorFile $file) {
    return $this->newChunkQuery($viewer, $file)
      ->execute();
  }

  protected function loadFileChunkForUpload(
    PhabricatorUser $viewer,
    PhabricatorFile $file,
    $start,
    $end) {

View on GitHub (pinned to 5720a38cfe)

When it happens

Trigger: Thrown at src/applications/files/conduit/FileConduitAPIMethod.php:15 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/b5b88c5f5dd203f9. Report an issue: GitHub.