identifier_not_allowed
- Returned as
- The problem's code, and the code of the field it concerns in errors[]
- HTTP status
- 422 Unprocessable Entity
- type
https://zautha.com/docs/errors/identifier_not_allowed
When it happens
Section titled “When it happens”The instance has its allowlist or blocklist on, and the email address is not allowed: with the allowlist on, it matches none of its entries; with the blocklist on, it matches one of them. The message does not say which list refused it. It is checked wherever a new email address comes into an account through the Frontend API:
- when a sign-up starts or its email address changes (
email_address), and again when the sign-up completes and the user would be made, so a list changed in between still applies; - on a social sign-up, for the email the provider gave (
token), including a sign-in without an account that is transferred to a sign-up; - on a sign-up with an organization invitation’s ticket, for the invited address (
ticket); - when a signed-in user adds an email address, and again when its code is verified (
email_address).
For an address entered in a form, the answer depends only on the address, not on whether it has an account. On a social sign-up a provider identity that is already linked to an account signs in instead and is not checked. Signing in is not affected: a user who already has a refused address still signs in. Users and addresses created with the Backend API or the dashboard are not checked.
What to do
Section titled “What to do”Use another email address.
How the allowlist and the blocklist decide, and where they apply, is in Sign-up restrictions.