when i tried to authorize a Dev Hub it show successfully in VScode, but not showing allow promt it directly redirect to login and showing this error: ERROR: We can’t query your org. Make sure that you’re connected to this org and have permissions to view the object and fields.
8 Antworten
Hi
Just follow the below link steps
https://www.apexhours.com/how-to-setup-visual-studio-code-for-salesforce/
also, update your CLI, Write this line in your command prompt sfdx update and press enter.
If still facing the same issue please let me know.
Thanks!