Could not retrieve the username after successful auth code exchange.
Due to: The REST API is not enabled for this Organization.
19:25:58.176 sfdx force:auth:web:login --setalias vscode --instanceurl https://login.salesforce.com --setdefaultusername
ended with exit code 0
I am using Visual Studio Code and trying trail head modules.
1 respuesta
Make sure to update the CLI to latest version. Try these links: https://developer.salesforce.com/forums/?id=9062I000000IKsCQAW
P.S : Please mark the answer as Best Answer if it helps to solve your problem and help others too.