[SalesForce] sfdx:Authorize an org taking too much time to respond

I am working in visual studio code, after deploying the code to org, the changes what I had done is not getting reflected in my org. And when I tried sfdx:Authorize an org, Its taking too much time to respond

sfdx force:auth:web:login –setalias vscodeOrg –instanceurl https://login.salesforce.com –setdefaultusername
ended with exit code 1

Please help me

Best Answer

First, when you put "Authorize an org" make sure to put your credentials in the window that opens automatically, otherwise it will always fail.

Then, if when deploying your code the changes are not reflected, it may be due to the browser cache. Try refreshing with ctrl + F5 every time, or else, disable the organization cache in "Setup" -> User session settings, that's what worked for me.

Related Topic