Errors

Cannot send verification email to a banned user

Admin verification email is blocked because the account has bannedAt set.

Cannot send verification email to a banned user

Sending a verification email failed because the account is banned. The product will not issue a verify token for banned users.

Why this happens

issueUserVerificationEmail checks bannedAt before creating a token. Public resend often skips banned users quietly; admin “Send verification” surfaces this error.

Diagnose and fix

1. Admin → Users → Bans — unban the account if that is intentional.

2. Then send verification again from user edit, or ask them to use resend after unban.

3. Confirm you have the right user (not a different banned row).

4. Distinct from mail delivery failures (SMTP / Emails are not arriving).

Related