Skip to main content
3 of 5
added 420 characters in body
Patlatus
  • 17.8k
  • 13
  • 82
  • 191

Different country and state picklists in paid orgs vs scratch orgs

Why the list of country and state picklists are different in different organization?

When we retrieve values from sandbox or production org we have values like Chinese Taipei instead of Taiwan on scratch org, also, Cuba is missing

enter image description here

The reason why do we try to retrieve these and deploy is we want to automate the State and Country picklist enablement.

And we receive errors when we try to deploy them.

Component Failures [1]
====================================================================================================================
| Type  Name    Problem                                                                                  Line:Column 
| ───── ─────── ──────────────────────────────────────────────────────────────────────────────────────── ─────────── 
| Error Address Cannot modify label for state Taiwan with iso code 71 to Chinese Taipei in country China   

enter image description here

Component Failures [1]
================================================================
| Type  Name    Problem                              Line:Column 
| ───── ─────── ──────────────────────────────────── ─────────── 
| Error Address Invalid iso code CU for country Cuba  

       

enter image description here


Update. SF Support asked for the complete list of differences.

enter image description here

enter image description here

enter image description here

enter image description here

Patlatus
  • 17.8k
  • 13
  • 82
  • 191