I'm trying to migrate new custom fields to a sandbox using the Salesforce Migration Tool (ANT). Two of the custom fields are picklist fields. And these two fields are causing the error: Error: Property 'picklist' not valid in version 39.0

  • Hope this helps. One suggestion, try using change sets. Just few clicks and nothing else, you'll be done. Apr 14, 2017 at 16:52

1 Answer 1


I think from 37 Api ver picklists are replaced with Valuesets in metadata definitions and it causes an error when You try to deploy 'old' metadata with higher Api Version. To get rid of this error, change your metadata file Api Version in Your package.xml file to 36.0 .


Another option is to export objects from Your sandbox using connection with Api version 39.0, then the objects will have updated metadata definitions and You will be able to deploy them to new sandbox using 39.0 version API.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .