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
Elie.RodrigueElie.Rodrigue 

SFDX Packaging2 : entity type cannot be inserted: Second Generation Package.

I'm trying to migrate some of our projects to SFDX. Got everything working in scratch org, now trying to create a package2 to be able to install somewhere else.

I'm using our day to day work environment as DevHub, created a namespace org, bound it to the dev hub. 
Now trying to create the package I get : 

sfdx force:package2:create --containeroptions Unlocked --name "UtilsPackage v1" 

Error: ERROR:  entity type cannot be inserted: Second Generation Package.

Any one ever got this error or got any pointers?
 
Elie.RodrigueElie.Rodrigue
Forgot to mention that packaging v2 is turned on in my devhub.