-
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 org due to Salesforce CLI extension issue #3459
Comments
Hi @bmathew83 - Have you installed the If you have the CLI installed, please respond with the CLI version number and paste the full contents of the output panel from VS Code after executing the Authorize command. |
Yes. I have CLI installed. The CLI Version number is v52.7.0 (see
screenshot)
[image: image.png]
2. Please see below screenshots for the error messages while trying to
authorize an org.
[image: image.png]
[image: image.png]
[image: image.png]
[image: image.png]
…On Fri, Jul 30, 2021 at 6:04 PM smaddox-sf ***@***.***> wrote:
Hi @bmathew83 <https://github.com/bmathew83> - Have you installed the sfdx
CLI in addition to the VS Code extension pack? Under the hood, we use the
CLI to execute some of the commands. (including the Authorize an Org
command). If you haven't installed it, you can find the instructions here:
https://developer.salesforce.com/tools/vscode/en/getting-started/install/#salesforce-cli
If you have the CLI installed, please respond with the CLI version number
and paste the full contents of the output panel from VS Code after
executing the Authorize command.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3459 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVBAOZFI7WEI4WOJA2Y4SQTT2MVXBANCNFSM5BJHYXUQ>
.
--
Binoy Mathew
Salesforce Developer -EVE Development Team
Tunnel Digital
|
[image: image.png]
On Mon, Aug 2, 2021 at 7:41 AM Binoy Mathew ***@***.***>
wrote:
… Yes. I have CLI installed. The CLI Version number is v52.7.0 (see
screenshot)
[image: image.png]
2. Please see below screenshots for the error messages while trying to
authorize an org.
[image: image.png]
[image: image.png]
[image: image.png]
[image: image.png]
On Fri, Jul 30, 2021 at 6:04 PM smaddox-sf ***@***.***>
wrote:
> Hi @bmathew83 <https://github.com/bmathew83> - Have you installed the
> sfdx CLI in addition to the VS Code extension pack? Under the hood, we
> use the CLI to execute some of the commands. (including the Authorize an
> Org command). If you haven't installed it, you can find the instructions
> here:
> https://developer.salesforce.com/tools/vscode/en/getting-started/install/#salesforce-cli
>
> If you have the CLI installed, please respond with the CLI version number
> and paste the full contents of the output panel from VS Code after
> executing the Authorize command.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#3459 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AVBAOZFI7WEI4WOJA2Y4SQTT2MVXBANCNFSM5BJHYXUQ>
> .
>
--
Binoy Mathew
Salesforce Developer -EVE Development Team
Tunnel Digital
--
Binoy Mathew
Salesforce Developer -EVE Development Team
Tunnel Digital
|
I am having the same issue, reinstalling doesnt seem to do anything |
+1 |
Hi @bmathew83 - Unfortunately none of the screenshots came through to GitHub, so I can't see the details. Can you check out this CLI issue and workaround to see if it resolves your issue? I'm not sure if that is the root cause since I can't see the screenshots. If the CLI issue & workaround I linked doesn't resolve it, can you retry to paste the follow-up info we can try to diagnose the problem? |
This issue has been automatically closed because there has been no response to our request for more information from the original author. Currently, there is not enough information provided for us to take action. Please reply and reopen this issue if you need additional assistance. |
@smaddox-sf - Thanks for sending the link forcedotcom/cli#1104 (comment) to try and solve the above issue. I'm looking into this whether it will solve the main issue. But I've uploaded some images I sent as reply via email I sent back in Aug 2021. **since you mentioned you weren't able to see them in Github. But I hope you can help me solve this. Thank you. |
@smaddox-sf - Just following up on this issue which is still not resolved. The link you provided is not the same issue as I encounter here. |
Hi @bmathew83 thanks for following up on this one! Are you still running into this issue with the latest version of our extensions (v53.4.2) ? |
Hi @AnanyaJha - Thanks for the speedy reply. I'll check if the latest version of extension is being used on my system and confirm back to you shortly. |
@AnanyaJha - Yes and still running into this issue with the latest version of the CLI extension (v53.4.2) . |
@AnanyaJha - Good afternoon ! just following up on this. I'm still running into this issue with the latest version of the CLI extension (v53.4.2) . Could you please help? |
Hi @bmathew83, sorry you're still working with this! Can you run |
Hi @randi274 - This is the result which I get when running the first command you asked. see below screenshot. This is the result which I get when running the second command you asked. see below screenshot. |
@bmathew83 thanks for sharing! It looks like you're having some issues with setting up the Salesforce CLI. Can you install the Salesforce CLI (instructions here) and try the command again? If you already have the CLI installed, you may just need to update your PATH variable (setting |
Hi @randi274 - Thanks for your patience and support towards this. https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm#sfdx_setup_install_cli_windows From there I went to https://developer.salesforce.com/tools/sfdxcli Here's my system variable Path setup under Environment variables:- and here's the user variables setup under Environment variables:- BUT, I'm still unsuccessful in running those commands as you advised. I get the same error where it says "The system cannot find the path specified". I'm not familiar with ~/.bashrc, ~/.bash_profile, or ~/.zshrc. Could you please send step by step directions to updating the path? Thank you so much |
That's all looking pretty good! Have you done a hard refresh of VS Code since updating the variables? If that variable is available in the Systems Variable section, that looks to be the right setup. When you run |
@randi274 - Thanks for confirmation of environment variables. I checked the link you sent in previous message and followed one of the users' (named vanessen) comments (the last comment) where two folders to the path were conflicting. I deleted the previous folder named C:\Program Files\Salesforce\CLI\bin but running those commands The echo %Path% command also shows the following result(see screenshot). |
@randi274 - Subsequently, trying to authorize an org gives this error now. FYI- Also, there was another error in bottom right of VS Code regarding the JDK not compatible (current zulu 16), so I downgraded to zulu 11). It mentioned that this was affecting the extensions. |
@randi274 - Not sure if this is related but still putting it out there. |
I fixed this issue only by formatting the laptop. Installed VS Code again and all the steps mentioned in here (https://developer.salesforce.com/tools/vscode/en/getting-started/install#salesforce-cli). Working fine now. Please close this ticket. |
Glad you were able to resolve this issue @bmathew83! Closing ticket now |
i still have same issue , can u help me out buddy |
Did you resolve this? I'm facing the same issue |
Hi @dee1110, can you let us know what version of the extensions you have installed? |
|
Great, thank you. Can you also verify which version of the sfdx cli you have installed? You should be able to run |
It never picks up the CLI installed on my laptop although I have |
@dee1110 It looks like |
trying rn. @klewis-sfdc |
@klewis-sfdc VS Code FINALYYYYYYYY recognizes my sfdx. THANK YOU SO MUCH! |
Glad its working for you now, @dee1110. Happy to help. |
Hello @klewis-sfdc |
Hello @klewis-sfdc I was wondering if you could please help me out with this error |
Hi @dee1110, And here is a link to our documentation that includes details about the different development models and how to deploy/retrieve metadata using VSCE's deploy*/retrieve*/push*/pull* commands: https://developer.salesforce.com/tools/vscode/en/apex/writing I'm going to close this issue. If you have any specific additional questions please open a new issue. @parami1998 if you are still seeing the issue will you also please create a new issue with your specific repo steps? Thank you! |
Issue Type: Bug
Even after reinstallation of the Extension Pack, it is not working like earlier.
ERROR : SFDX Authorize an Org failed to Run
Source: Salesforce CLI Integration (Extension)
Extension version: 52.7.0
VS Code version: Code 1.58.2 (c3f126316369cd610563c75b1b1725e0679adfb3, 2021-07-14T22:10:15.214Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: