diff --git a/src/workflow/ArcanistPatchWorkflow.php b/src/workflow/ArcanistPatchWorkflow.php --- a/src/workflow/ArcanistPatchWorkflow.php +++ b/src/workflow/ArcanistPatchWorkflow.php @@ -391,7 +391,8 @@ break; } } catch (ConduitClientException $ex) { - if ($ex->getErrorCode() == 'ERR-INVALID-SESSION') { + if ($ex->getErrorCode() == 'ERR-INVALID-SESSION' || + $ex->getErrorCode() == 'ERR-INVALID-AUTH') { // Phabricator is not configured to allow anonymous access to // Differential. $this->authenticateConduit();