Skip to main content
edited title
Link
Patlatus
  • 17.8k
  • 13
  • 82
  • 191

Different Discrepancies between country and state picklists in paid orgs vs scratch orgs

added 420 characters in body
Source Link
Patlatus
  • 17.8k
  • 13
  • 82
  • 191

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.

Different Labels.

Taiwan - Chinese Taipei (as state)

(Missing) - Cuba

Czechia - Czech Republic

Telangana - (Missing)

(Missing) - Iran, Islamic Republic of

All Japan states - (Missing)

(Missing) - Korea, Democratic People's Republic of

Libya - Libyan Arab Jamahiriya

North Macedonia - Macedonia, the former Yugoslav Republic of

Palestine - Palestinian Territory, Occupied

(Missing) - Sudan

(Missing) - Syrian Arab Republic

Eswatini - Swaziland

Türkiye - Turkey

Taiwan - Chinese Taipei (as country)

Vietnam - Viet Nam

Kosovo - (Missing)

enter image description here

enter image description here

enter image description here

enter image description here

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

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.

Different Labels.

Taiwan - Chinese Taipei (as state)

(Missing) - Cuba

Czechia - Czech Republic

Telangana - (Missing)

(Missing) - Iran, Islamic Republic of

All Japan states - (Missing)

(Missing) - Korea, Democratic People's Republic of

Libya - Libyan Arab Jamahiriya

North Macedonia - Macedonia, the former Yugoslav Republic of

Palestine - Palestinian Territory, Occupied

(Missing) - Sudan

(Missing) - Syrian Arab Republic

Eswatini - Swaziland

Türkiye - Turkey

Taiwan - Chinese Taipei (as country)

Vietnam - Viet Nam

Kosovo - (Missing)

enter image description here

enter image description here

enter image description here

enter image description here

added 420 characters in body
Source Link
Patlatus
  • 17.8k
  • 13
  • 82
  • 191

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

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

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

added 121 characters in body
Source Link
Patlatus
  • 17.8k
  • 13
  • 82
  • 191
Loading
Source Link
Patlatus
  • 17.8k
  • 13
  • 82
  • 191
Loading