VSCODE Error: Authorize Org failed in VS Code #inSalesforce

VSCODE Error: Authorize Org failed in VS Code #inSalesforce

 

Try the following if you have already installed the CLI and necessary extensions that is followed the steps well and still getting the error:

  • Run command prompt as Admin (Start | CMD | Right Click | RunAs Admin)
  • Run the command: netstat -aon
  • CTRL+F, to search for 1717
  • Note the number displayed in the PID column in the same row where 1717 was found. Suppose, it's XXXX Open Task Manager > Click on Details Tab > Sort by PID
  • Locate the number from the previous step (that’s XXXX)
  • Right-Click  and  End Task
  • Go back to VS Code and run the command again "Starting SFDXAuthorize an Org"

 

·     

Comments