You need to sign in to do that
Don't have an account?
Kashyap Joshi
SFDX: Authorize an Org failed
Hi All,
I am trying to authorize an org on visual code but I am getting the below error.
SFDX: Authorize an Org failed to run
sfdx force:auth:web:login --setalias JFFDdev --instanceurl https://test.salesforce.com --setdefaultusername
ERROR running auth:web:login: spawn UNKNOWN
sfdx force:auth:web:login --setalias JFFDdev --instanceurl https://test.salesforce.com --setdefaultusername
ended with exit code 1
Greetings to you!
Please refer to the below links which might help you further with the above issue.
https://salesforce.stackexchange.com/questions/208158/authorizing-dev-hub-from-force-com-ide2-redirects-to-localhost-after-authorizing
https://salesforce.stackexchange.com/questions/249857/cannot-connect-a-salesforce-org-using-authorize-an-org-in-vs-code
https://salesforce.stackexchange.com/questions/251589/unable-to-authorize-salesforce-org-using-sfdx-trailhead
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Priya Ranjan
Hi Priya,
I am continuously trying to but not yet solved.
I have attached a screenshot of the exact issue, Please guide me regarding this issue.