-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Authorize an Org in VS code #5220
Comments
@vaibhavgoud Can you provide the following information for us? |
Hi Thanks! |
Regarding CLI version, there are 2 things that immediately stick out to me:
|
Hi ,
It's giving the same error even if I'm trying to get the version in the
terminal using the below command
sfdx --version
Thanks!
…On Wed, 8 Nov, 2023, 3:08 pm Daphne Yang, ***@***.***> wrote:
Regarding CLI version, there are 2 things that immediately stick out to me:
1. Is that what you see when you run sfdx --version? I'm asking
because your original error message says you are using v7.209.6 of the CLI,
so you might have multiple CLI versions installed on your computer.
2. If you are indeed using v7.65.3, that CLI version is too old and no
longer supported. Please update to the latest SFDX version, which is
v7.209.6. (Which you may already have in the background, by the way, based
on your error message.)
—
Reply to this email directly, view it on GitHub
<#5220 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHTZ25BXGT2IPTISQF6TMSLYDON73AVCNFSM6AAAAAA7C7RSCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBSGA4DAMJQGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hmm interesting... In that case, please uninstall your CLI and reinstall. The CLI team has already rolled out SF v2 in the past summer, so please consider making the switch. If you want to stay on SFDX (which is now deprecated) you should be installing v7.209.6 (the latest version). |
This looks like the CLI uninstalls itself issue. Find fixes here |
@vaibhavgoud Please let us know if the above link didn't get you fixed. I'm going to assume that CLI issue will solve your problem. Feel free to reopen if not the case. Thanks! |
Hi,
I'm trying to Authorize an org in VS code and it's not working. It's giving the below error.
Starting SFDX: Authorize an Org
sfdx org:login:web --alias ukclmdev --instance-url https://test.salesforce.com --set-default
'"C:\Users<userid>\AppData\Local\sfdx\client\bin..\7.209.6-8ba3197\bin\sfdx.cmd"' is not recognized as an internal or external command,
operable program or batch file.
sfdx org:login:web --alias ukclmdev --instance-url https://test.salesforce.com --set-default
ended with exit code 1
The text was updated successfully, but these errors were encountered: