function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Simon234Simon234 

ERROR: You do not have access to the [ScratchOrgInfo] object

I have a problem with my trailhead "Quick Start: Salesforce DX".
I'm trying to do this:
sfdx force:org:create -s -f config/project-scratch-def.json -a "default scratch org"

But become an Error: You do not have access to the [scratchorginfo] object

I make all right, step by step. Connected status is "Connected". How can I fix it?

Simon234Simon234
I get it. U need to use a new Dev org (https://developer.salesforce.com/promotions/orgs/dx-signup)
Garris JackGarris Jack
Check first if you're connected to the devhub (sfdx force:org:list).
__________________________________________________
https://prepaidgiftbalance.net/
Tom MyersTom Myers
Just first enable the Dev Hub in the org you are using. You do not need to create a new org:  Setup | Dev Hub | Enable Dev Hub 
 
Joyce Riggans 4Joyce Riggans 4
Thank you! This information is still helpful in 2021.