+ Start a Discussion

storage limit exceeded on creating scratch org

Hello Everyone, 

I am trying to create a scratch org and getting a storage limit exceeded error. I even tried to create it on new developer org but same result. 

Would really appreciate if anyone can help on this.

Thanks in advance!

SwethaSwetha (Salesforce Developers) 
HI Patr,
Are you creating a scratch org from Dev org where the storage limit exceeded?
Vishwajeet kumarVishwajeet kumar

This error comes up when command : sfdx force:org:create -f project-scratch-def.json -a ScratchOrg --setdefaultusername

is run from Visual Studio Code CLI plugin in Developer edition org. Developer edition org has not exceeded storage or file size limits.


mukesh guptamukesh gupta

Your problem will solve by this url 


if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Vishwajeet kumarVishwajeet kumar
Question is how to fix this error when it occurs in Developer Edition dev hubs, it works fine in Enterprise/Unlimited edition salesforce orgs dev hub.

Vishwajeet kumarVishwajeet kumar

Here is something which works : 

Use simple scratch org definition json file like below :
  "orgName": "Demo company",
  "edition": "Developer",
  "features": [],
  "settings": {}

seems like issue was due to some features/settings which was defined in json file.