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
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
Component Failures [1]
================================================================
| Type Name Problem Line:Column
| ───── ─────── ──────────────────────────────────── ───────────
| Error Address Invalid iso code CU for country Cuba
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)