Metadata Coverage
Resolve Common Authorization Errors
Error: No default dev hub found
Unable to Work After Failed Org Authorization
Error: The consumer key is already taken
CLI Version Information
Limitations for Salesforce DX
Previous PDF Versions
Sometimes you try to authorize a Dev Hub org or a scratch org using the Salesforce CLI or an IDE, but you don’t successfully log in to the org. The port remains open for the stray authorization process, and you can’t use the CLI or IDE. To proceed, end the process manually.
To recover from a failed org authorization on macOS or Linux, use a terminal to kill the process running on port 1717.
From a terminal, run:
1lsof -i tcp:1717In the results, find the ID for the process that’s using the port.
Run:
1kill -9 <the process ID>To recover from a failed org authorization on Windows, use the Task Manager to end the Node process.
Press Ctrl+Alt+Delete, then click Task Manager.
Select the Process tab.
Find the process named Node.
If you’re a Node.js developer, you can have several running processes with this name.
Note
Select the process that you want to end, and then click End Process.