phacility/phabricator · error · Exception

There are no file data chunks in byte range %d - %d.

Error message

There are no file data chunks in byte range %d - %d.

What it means

Error "There are no file data chunks in byte range %d - %d." thrown in phacility/phabricator.

Source

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

    return $this->newChunkQuery($viewer, $file)
      ->execute();
  }

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

    $start = (int)$start;
    $end = (int)$end;

    $chunks = $this->newChunkQuery($viewer, $file)
      ->withByteRange($start, $end)
      ->execute();

    if (!$chunks) {
      throw new Exception(
        pht(
          'There are no file data chunks in byte range %d - %d.',
          $start,
          $end));
    }

    if (count($chunks) !== 1) {
      phlog($chunks);
      throw new Exception(
        pht(
          'There are multiple chunks in byte range %d - %d.',
          $start,
          $end));
    }

    $chunk = head($chunks);
    if ($chunk->getByteStart() != $start) {
      throw new Exception(

View on GitHub (pinned to 5720a38cfe)

When it happens

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