No such column ‘Language’ on sobject of type Package2VersionCreateRequest Salesforce Exception

No such column ‘Language’ on sobject of type Package2VersionCreateRequest Salesforce Exception

Language field is not supported in 2GP Package. So, “No such column ‘Language’ on sobject of type Package2VersionCreateRequest” Salesforce Exception is thrown.

Resolution:

Remove the Language Field in the scratch org definition file and continue the Deployments. File name for Scratch Org Definition is “project-scratch-def.json”. Attribute to be removed is language.

Leave a Reply