phacility/phabricator · error · Exception
The address is configured to be used by the Application.
Error message
The address %s is configured to be used by the %s Application.
What it means
Raised in PhabricatorUserEditor::willAddEmail when the email address is reserved by a specific application (PhabricatorUserEmail::isAllowedAddress fails and an application owns it). The message names the address and the owning application; it is a hard pre-write guard on administrative and normal pathways.
Solutions
- Choose a different address; this one routes mail to the application.
- Reconfigure the application address that reserves this value if the reservation is wrong.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/applications/people/editor/PhabricatorUserEditor.php:477 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/e692b395cd705fe0.
Report an issue: GitHub.
Appendix: source
Thrown at src/applications/people/editor/PhabricatorUserEditor.php:477
// Hard check before write to prevent creation of disallowed email
// addresses. Normally, the application does checks and raises more
// user friendly errors for us, but we omit the courtesy checks on some
// pathways like administrative scripts for simplicity.
if (!PhabricatorUserEmail::isValidAddress($email->getAddress())) {
throw new Exception(PhabricatorUserEmail::describeValidAddresses());
}
if (!PhabricatorUserEmail::isAllowedAddress($email->getAddress())) {
throw new Exception(PhabricatorUserEmail::describeAllowedAddresses());
}
$application_email = id(new PhabricatorMetaMTAApplicationEmailQuery())
->setViewer(PhabricatorUser::getOmnipotentUser())
->withAddresses(array($email->getAddress()))
->executeOne();
if ($application_email) {
throw new Exception($application_email->getInUseMessage());
}
}
public function revokePasswordResetLinks(PhabricatorUser $user) {
// Revoke any outstanding password reset links. If an attacker compromises
// an account, changes the email address, and sends themselves a password
// reset link, it could otherwise remain live for a short period of time
// and allow them to compromise the account again later.
PhabricatorAuthTemporaryToken::revokeTokens(
$user,
array($user->getPHID()),
array(
PhabricatorAuthOneTimeLoginTemporaryTokenType::TOKENTYPE,
PhabricatorAuthPasswordResetTemporaryTokenType::TOKENTYPE,
));
}
View on GitHub (pinned to 5720a38cfe)