phacility/phabricator · error · PhabricatorWorkerPermanentFailureException

There is no Nuance item with PHID

Error message

There is no Nuance item with PHID "%s".

What it means

Permanent worker failure in NuanceWorker::loadItem: the item PHID passed to the worker no longer resolves to any NuanceItem. The queue item is marked permanently failed rather than retried, since the underlying object is gone.

Solutions

  1. No action needed if the item was deleted — permanent failure is intended
  2. Audit code paths that enqueue Nuance tasks to ensure items exist first
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at src/applications/nuance/worker/NuanceWorker.php:16 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/ff90731078dc67fa. Report an issue: GitHub.

Appendix: source

Thrown at src/applications/nuance/worker/NuanceWorker.php:16

<?php

abstract class NuanceWorker extends PhabricatorWorker {

  protected function getViewer() {
    return PhabricatorUser::getOmnipotentUser();
  }

  protected function loadItem($item_phid) {
    $item = id(new NuanceItemQuery())
      ->setViewer($this->getViewer())
      ->withPHIDs(array($item_phid))
      ->executeOne();

    if (!$item) {
      throw new PhabricatorWorkerPermanentFailureException(
        pht(
          'There is no Nuance item with PHID "%s".',
          $item_phid));
    }

    return $item;
  }

}

View on GitHub (pinned to 5720a38cfe)