I am new to Salesforce Development. I just installed Visual Studio Code. I did successfully auhorize my Dev Org. But I am having issues when creating a Default Scratch Org. THe following the error message I am receiving. Please advise!!

enter image description here

  • Have you enabled Dev Hub in your Org?
    – Jayant Das
    Commented Aug 22, 2019 at 2:21

1 Answer 1


Either you have not enabled Dev Hub, or you did not create the Permission Set you need. Make sure you have enabled Dev Hub in Setup, and make sure you created a Permission Set and assigned it to your user--simply being a System Administrator is not sufficient to use Dev Hub features.

  • Thanks!! What permission do I need to assign as Permission set for the user
    – Faiz
    Commented Aug 22, 2019 at 23:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .