Skip to main content Join us at TDX in San Francisco or on Salesforce+ on March 5-6 for the Developer Conference for the AI Agent Era. Register now.

Error on creating a default scratch org, terminal returns an error "The specified org vscodeOrg is not a Dev Hub." when running the 'Create a default scratch org' command with the defaulted entries. I have authorized dev hub in the step prior successfully but cannot find a way to get around this step.

 

#Trailhead Challenges

3 answers
  1. Nov 5, 2024, 8:12 PM

    The "Dev Hub - Scratch Org Step" error indicates that the organization you've connected to isn't configured as a Dev Hub. To resolve this, ensure you've authorized the correct Dev Hub org in VS Code, double-check your VS Code settings, and consider re-authorizing the Dev Hub. For detailed guidance and troubleshooting, refer to the official Salesforce DX documentation. 

0/9000