---
schema_version: "1"
id: 0567ddcf7f173c02f737c4ca82e32455c442aa9604723e3f5f0d8e8171bbbcb6
title: State and Country/Territory Picklist Error Messages
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/admin_state_country_picklists_errors.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.admin_state_country_picklists_errors.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: bb7291a2aaff38bade07db948c12c6ad18261c52ca97b53dc24ea72f0ec61e76
description: Understand the errors that can occur when you try to save records with mismatched code and text values for states, countries, or territories.
products:
  - Salesforce Platform
  - Cross Cloud
release: "264"
---
# State and Country/Territory Picklist Error Messages

Understand the errors that can occur when you try to save records with mismatched code and text values for states, countries, or territories.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>All</strong> Editions except Database.com</td></tr></tbody></table>

 
| Error | Cause |
| --- | --- |
| Invalid country specified for field | Your country/territory code doesn’t match an existing country or territory. |
| There’s a problem with this country, even though it may appear correct. Please select a country from the list of valid countries. | Your country/territory integration value doesn’t match an existing country. Or, the country/territory value was mapped to `Unknown value` during data conversion. |
| Mismatched integration value and ISO code for field | Your code and integration values match different states or countries. |
| A country must be specified before specifying a state value for field | Your record has a state code or integration value but no country/territory code. You can’t save a state without a corresponding country. |
| The existing country doesn’t recognize the state value for field | Your state code and integration values belong to a state in a different country. |
| Invalid state specified for field | Your state code doesn’t match an existing state. |

#### See Also

- [Let Users Select States, Countries, and Territories from Picklists](https://help.salesforce.com/s/articleView?id=xcloud.admin_state_country_picklists_overview.htm&release=264.0.0&type=5 "State and country/territory picklists let users select states, countries and territories from predefined, standardized lists, instead of entering state and country/territory data into text fields. State and country/territory picklists offer faster and easier data entry. They help to ensure cleaner data that can be harnessed for other uses—in reports and dashboards, for example. They protect data integrity by preventing typos, alternate spellings, and junk data—even in records updated through the API.")
- [Integration Values for State and Country/Territory Picklists](https://help.salesforce.com/s/articleView?id=xcloud.admin_state_country_picklists_integ_values.htm&release=264.0.0&type=5 "An integration value is a customizable text value that’s linked to a state or country/territory code. Integration values for states, countries, and territories default to the full ISO-standard state, country, and territory names. The way integration values function is similar to the way API names of custom fields and objects function. Configure integration values so integrations that you set up before enabling state and country/territory picklists continue to work.")
- [State and Country/Territory Picklist Field-Syncing Logic](https://help.salesforce.com/s/articleView?id=xcloud.admin_state_country_picklists_field_syncing.htm&release=264.0.0&type=5 "When you save records with state and country/territory picklist values, Salesforce syncs the records’ integration and code values for states and countries. You can’t directly edit state or country/territory integration values on record detail pages. You can directly edit records' state or country/territory integration values only with workflows, Apex code, API integrations,​​​ and so on.")