Sub topic 13
Fixing common sign-up and login problems
This chapter assumes you have tried the sign-up form, the verification email, multi-factor authentication (MFA) registration and the My Domain login described in earlier chapters. It gives a working model for diagnosing failures, then covers the most common problems.
A working model of where failures happen
Sign-up and login fail at a small number of points. Each point produces a recognizable symptom, so you can work backward from the symptom to the cause.
Duplicate or invalid username
A Salesforce username must look like an email address, such as [email protected]. It must also be unique across all Salesforce orgs, not only your own. The address does not need to receive mail. Only the email field does.
Typical symptoms and fixes:
- "Username already exists in this or another Salesforce organization." Someone, possibly you in an earlier attempt, already used it. Add a distinguishing part, for example
[email protected]. - "Invalid username" or a format error. Check for spaces, a missing
@, or a missing domain part. - You forgot the username you chose. The verification email contains it. Search your inbox for the sender and read the message.
Keep the username and the email address separate in your head. You can use the same email address to sign up for several orgs as long as each username is different.
The verification email does not arrive
The email normally arrives within a few minutes. If it does not, work through these checks in order:
- Confirm that you typed the email address correctly in the form.
- Check spam, junk and promotion folders.
- Search for the sender name or the word "Salesforce".
- Check whether a corporate mail filter or an alias rule is blocking the message. A personal address is often easier for a first attempt.
- Wait about 15 minutes, then submit the form again with a different username.
The verification link is single-use and expires. If it says the link is invalid or already used, you have probably opened it before. Go to the login page and use Forgot Your Password? with your username to get a new link.
Login fails
Most login problems come from using the wrong place or the wrong credentials.
| Symptom | Likely cause | Fix |
|---|---|---|
| "Check your username and password" | Typo, or you used your email instead of the username | Enter the full username from sign-up |
| Page shows no matching org | You used the wrong login host | Use your My Domain URL, or `login.salesforce.com` |
| Account locked | Too many failed attempts | Wait for the lockout to expire, or reset your password |
| MFA code rejected | Phone clock is out of sync, or the code expired | Enter a fresh code and enable automatic time on the device |
A My Domain URL for a Developer Edition org usually looks like https://yourname-dev-ed.my.salesforce.com. Bookmark it once you find it. Using it avoids sending your credentials to the wrong host.
MFA problems
If you lose the device that holds your authenticator app, you cannot pass the MFA check. Use a backup method if you registered one, such as a security key or a second authenticator. Without one, you need to ask an administrator to reset the MFA registration. In a personal Developer Edition org you are the administrator, which makes this difficult if you are locked out. Treat registering a second method as part of setup, not as an optional extra.
CLI authorization problems
If sf org login web fails, check these points:
- The browser must be able to open and return to a local callback address. Close VPN or proxy tools that interfere.
- Log in with the same username you use in the browser.
- Run
sf org listto see whether the alias already exists, which would show the authorization succeeded.
sf org list
sf org login web --alias my-dev-orgCommon mistakes
- Reusing a username without realizing that usernames are global.
- Using a sign-up email you cannot read.
- Starting a second sign-up while the first verification email is still on its way, which creates two orgs and confusion about which one you are in.
- Skipping a backup MFA method.
Exercise
You submit the sign-up form and see "Username already exists in this or another Salesforce organization." Does this mean your email address is already in use? What should you do?
Show answer
No. Usernames are unique across all Salesforce orgs, but the email address can be reused. Keep the same email address and choose a different username in email format, such as [email protected].
Exercise
The verification email has not arrived after 15 minutes. List the checks you would make before submitting the form again.
Show answer
Confirm the email address was typed correctly, check spam and junk folders, search for the Salesforce sender, and rule out a mail filter or alias rule. If none of these help, submit the form again with a new username.