+ 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.