You need to sign in to do that
Don't have an account?
Iulian Vizireanu 2
SFDX Authorise an Org failed.
Hi,
Please can someone can help me with this, look that is successful, but then I got an error and don`t know why.
Starting SFDX: Set a Default Org
sfdx force:config:set defaultusername=https://um5.lightning.force.com/lightning/setup/SetupOneHome/home,Dev,DevHub,https://um5.lightning.force.com/lightning/page/home
=== Set Config
Name Value Success
─────────────── ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ───────
defaultusername https://um5.lightning.force.com/lightning/setup/SetupOneHome/home,Dev,DevHub,https://um5.lightning.force.com/lightning/page/home false
ERROR running config:set: No AuthInfo found for name https://um5.lightning.force.com/lightning/setup/SetupOneHome/home,Dev,DevHub,https://um5.lightning.force.com/lightning/page/home
sfdx force:config:set defaultusername=https://um5.lightning.force.com/lightning/setup/SetupOneHome/home,Dev,DevHub,https://um5.lightning.force.com/lightning/page/home
ended with exit code 1
Many thanks,
Iulian
Please can someone can help me with this, look that is successful, but then I got an error and don`t know why.
Starting SFDX: Set a Default Org
sfdx force:config:set defaultusername=https://um5.lightning.force.com/lightning/setup/SetupOneHome/home,Dev,DevHub,https://um5.lightning.force.com/lightning/page/home
=== Set Config
Name Value Success
─────────────── ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ───────
defaultusername https://um5.lightning.force.com/lightning/setup/SetupOneHome/home,Dev,DevHub,https://um5.lightning.force.com/lightning/page/home false
ERROR running config:set: No AuthInfo found for name https://um5.lightning.force.com/lightning/setup/SetupOneHome/home,Dev,DevHub,https://um5.lightning.force.com/lightning/page/home
sfdx force:config:set defaultusername=https://um5.lightning.force.com/lightning/setup/SetupOneHome/home,Dev,DevHub,https://um5.lightning.force.com/lightning/page/home
ended with exit code 1
Many thanks,
Iulian
Looks like this is an issue related to the regression bug in the Salesforce CLI latest version.
See https://github.com/forcedotcom/cli/issues/811 for more details
https://salesforce.stackexchange.com/questions/331530/vscode-unable-to-authorize-to-an-org
https://github.com/forcedotcom/cli/issues/802
If this information helps, please mark the answer as best.Thank you
first update CLI ,
Do you have any proxy or firewall setup, if so you would need to configure it.
https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli_firewall.htm
References for similar issue
https://developer.salesforce.com/forums/?id=9062I000000IKsCQAW
https://developer.salesforce.com/forums/?id=9062I000000XqRXQA0
https://salesforce.stackexchange.com/questions/256860/authorize-org-failed-in-vs-code
Thanks,