at the moment I'm working on a project where Salesforce DX is used. There I have a problem when I try to add the item "Messe" to the Opportunity LeadSource picklist.


I can add this without any problems on my Scratch Org and also can pull the changes. But if I try to push it to a new Scratch I receive the following error:

Duplicate label: Messe

Thanks in advance.

  • Go through this article, it seems related to your issue : help.salesforce.com/… – MIX DML Apr 17 '18 at 12:02
  • 1
    Thanks for your quick reponse. Unfortunately the arcticle couldnt´'t help me with my problem. – Philipp Conrad Apr 17 '18 at 12:23

Seems like you are trying to deploy a picklist with a label that is either already deployed in the environment or is being loaded in the same deploy.

Since its just a label and not the Api name of the value, you may think that there is no problem if you repeat it, but Salesforce doesnt let you duplicate neither the Api value nor the label.

You will need to change the label -maybe something like "Messe." could work for you, but it looks a little dirty- or use the other picklist value.

  • 1
    It got it working by manually adding a blank behind "Messe". Now it looks like this: "Messe ". It is not the perfect solution, but for the moment it will work. Hopefully we can bypass this error with package installs. Thanks for you advice. – Philipp Conrad Apr 17 '18 at 13:55
  • @PhilippConrad this is a weird workaround but it works. – Sean Soriano Jul 10 '18 at 23:33

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.