1

I run the following command

sfdx force:package:version:create -p SFExtension -d force-app -k xxxx --wait 10 -v DevHub

and with my 6th (5 finished successfully) execution I get this error:

ERROR:  The package2 version create request failed because this organization has reached its daily limit.

What limit does block me here? Can I really only build a package 5 times a day?

...this is really frustrating :(

2

You can query the limits by the following command:

sfdx force:limits:api:display

Run this against your dev hub org, and you'll see a line like this:

NAME                                   REMAINING  MAXIMUM
─────────────────────────────────────  ─────────  ─────────
...
PackageVersionCreates                  50         50

This is the daily limit for the entire org. If you've run out, you'll have to wait until tomorrow.

The limits are different for different types of orgs, so you'll need to check your org's limits.

Edit:

I couldn't find the chart that I've seen before, but it does seem like Developer Edition is limited to 6 packages/day, Enterprise should be 50/day, and Performance/Unlimited should be 200/day.

A developer edition is really not intended to be a real hub, just more of a learning/design/package container. Your dev hub org should be a real (i.e. paid) org.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.