I'm trying to enable custom metada types to my permission sets in my metadata.xml file and deploy it to an org and I get this errir.

I've tried updating API versions in my package.xml but still no luck. Any suggestions

  • can you add content of your package.xml in to your question?
    – sdandamud1
    Feb 20, 2020 at 22:18

1 Answer 1


You need to also update the apiVersion in the metadata files.

To do that, you can run the following script at the root of your metatada folder (you need salesforce DX and sfdx-essentials plugin : https://github.com/nvuillam/sfdx-essentials#sfdx-essentialsprojectchange-dependency-version )

sfdx essentials:project:change-dependency-version -a 47.0

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.