Importing new records or updating existing records may result in data validation errors when the State and Country/Territory Picklist (S&CP) feature is enabled in your Salesforce org, if the address data in your file does not match the predefined state and country values. For more details on how to get started, set, and configure State and Country/Territory Picklist values, see Let Users Select State and Country from Picklists.
You may encounter the following errors when performing a data manipulation operation (an import, insert, update, or upsert) when S&CP is enabled:
Use the following best practices to prevent receiving the above errors on import when using S&CP:
Error: 'The [BillingStateCode / ShippingStateCode] field contains [value], which isn't an available state'
This error may occur when mapping standard Country fields together with 'StateCode' fields, and the country set for a record in your file is not currently set as the Default Country in S&CPL setup. Salesforce attempts to set CountryCode field values to the country set as the default country. This behavior in conjunction with mapping only the standard Country address fields with State address code fields results in a mismatch between the StateCode value in your file and the default CountryCode values being set on the record.
If you are mapping StateCode address fields and either no default country is set, or the country values in your import file do not match the default country in S&CPL setup, you must include and map the CountryCode fields to override the application setting the record's country fields to the default country.
Error: 'A country must be specified before specifying a state value for field'
This error occurs when no default country is selected in S&CPL setup and users map the standard Country field and StateCode field together.
Error: 'There's a problem with this state / country, even though it may appear correct'
This error occurs when mapping to standard State and Country fields and records in your import file do not have a correct or corresponding state or country value. The value may be incorrect because the state does not exist for the specified country, or the values do not match the Integration Value set in S&CPL setup.
If the state value is confirmed correct and the record does not share the default country selected in S&CPL setup, the error may occur when users have mapped State fields without mapping Country fields.
Note: If integration values are the same as the ISO code values or differ from the State/Country full names, this indicates they have been updated either through the user interface via Setup or potentially through the Metadata API prior to enabling the feature. Disabling and re-enabling the feature will not change the state/country integration values. Support does not have the ability to reset integration values back to default or track who made changes to the State and Country Picklist setup.
Integration Values for State and Country Picklists
Error 'There's a problem with this country or state' on record save
000387500

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.