phacility/phabricator · error · PhutilArgumentUsageException
There are no matching factors to strip.
Error message
There are no matching factors to strip.
What it means
Error "There are no matching factors to strip." thrown in phacility/phabricator.
Source
Thrown at src/applications/auth/management/PhabricatorAuthManagementStripWorkflow.php:170
if (!$providers) {
throw new PhutilArgumentUsageException(
pht(
'There are no configured multi-factor providers.'));
}
}
$factor_query = id(new PhabricatorAuthFactorConfigQuery())
->setViewer($viewer)
->withFactorProviderPHIDs(array_keys($providers));
if ($users) {
$factor_query->withUserPHIDs(mpull($users, 'getPHID'));
}
$factors = $factor_query->execute();
if (!$factors) {
throw new PhutilArgumentUsageException(
pht('There are no matching factors to strip.'));
}
$handles = id(new PhabricatorHandleQuery())
->setViewer($this->getViewer())
->withPHIDs(mpull($factors, 'getUserPHID'))
->execute();
$console = PhutilConsole::getConsole();
$console->writeOut("%s\n\n", pht('These auth factors will be stripped:'));
foreach ($factors as $factor) {
$provider = $factor->getFactorProvider();
echo tsprintf(
" %s\t%s\t%s\n",
$handles[$factor->getUserPHID()]->getName(),View on GitHub (pinned to 5720a38cfe)
When it happens
Trigger: Thrown at src/applications/auth/management/PhabricatorAuthManagementStripWorkflow.php:170 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/21f18652893b6f4f.
Report an issue: GitHub.