{"record":{"id":"abb4486ee3150439","repo":"phacility/phabricator","slug":"no-provider-with-phid-s-exists-use-bin-auth-l","errorCode":null,"errorMessage":"No provider with PHID \"%s\" exists. Use `bin/auth list-mfa-providers` to list providers.","messagePattern":"No provider with PHID \"(.+?)\" exists\\. Use `bin/auth list-mfa-providers` to list providers\\.","errorType":"console","errorClass":"PhutilArgumentUsageException","httpStatus":null,"severity":"error","filePath":"src/applications/auth/management/PhabricatorAuthManagementStripWorkflow.php","lineNumber":144,"sourceCode":"\n    $provider_query = id(new PhabricatorAuthFactorProviderQuery())\n      ->setViewer($viewer);\n\n    if ($provider_phids) {\n      $provider_query->withPHIDs($provider_phids);\n    }\n\n    if ($types) {\n      $provider_query->withProviderFactorKeys($types);\n    }\n\n    $providers = $provider_query->execute();\n    $providers = mpull($providers, null, 'getPHID');\n\n    if ($provider_phids) {\n      foreach ($provider_phids as $provider_phid) {\n        if (!isset($providers[$provider_phid])) {\n          throw new PhutilArgumentUsageException(\n            pht(\n              'No provider with PHID \"%s\" exists. '.\n              'Use `bin/auth list-mfa-providers` to list providers.',\n              $provider_phid));\n        }\n      }\n    } else {\n      if (!$providers) {\n        throw new PhutilArgumentUsageException(\n          pht(\n            'There are no configured multi-factor providers.'));\n      }\n    }\n\n    $factor_query = id(new PhabricatorAuthFactorConfigQuery())\n      ->setViewer($viewer)\n      ->withFactorProviderPHIDs(array_keys($providers));\n","sourceCodeStart":126,"sourceCodeEnd":162,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/auth/management/PhabricatorAuthManagementStripWorkflow.php#L126-L162","documentation":"Error \"No provider with PHID \"%s\" exists. Use `bin/auth list-mfa-providers` to list providers.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/auth/management/PhabricatorAuthManagementStripWorkflow.php:144 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5720a38cfe95b00ca4be5016dd0d2f3195f4fa04","analyzedAt":"2026-08-21T05:07:25.672Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}