Loading

Error 'There's a problem with this country or state' on record save

Date de publication: Sep 24, 2025
Description

When working with records that have address fields (leads, contacts, accounts, etc) and you receive the following error message:

"There's a problem with this country, even though it may appear correct. Please select a country from the list of valid countries."
"There's a problem with this state, even though it may appear correct. Please select a state from the list of valid states."

This occurs when State and Country values that do not exist yet in Salesforce are inserted to the database.

Examples of this are:
  • Importing records and specifying state and country values that are not in Salesforce
  • Updating contacts via stay in touch 
  • Web to Lead inserts Leads with incorrect/unavailable state and country values
Résolution

​​​​​​You need to make sure that the values you are inserting, are created in Salesforce to avoid this and other errors. Also ensure that there is a corresponding Billing/Shipping State if there is a value on Billing/Shipping Country or set the Billing/Shipping State to blank.

While making changes to User setting, the same issue can possibly occur if the 'State/Province' and 'Country fields' have invalid values in user's personal settings. This can be changed by the user by following the click path:

My Settings | Personal | Personal Information (Address section)

To check if the State and Country/Territory is valid or active in the org, follow these steps:

Classic: Setup | Data Management | State and Country/Territory Picklists
Lightning: Gear Icon | Setup | Data | State and Country/Territory Picklists

1.Under the first step, click ‘Configure states and countries'
2.Make sure that the Country is currently active
3.Click on Edit at the left side of the country to check the State/Province under the country and check if Active
(Optional)
4.If you cannot find the Country or the State, click the ‘New Countries/Territories’ or ‘New State’ button to add
5.Fill in the required fields, Check Active then Save.

Note: If the error is on Opportunity save, check the related Account record and update the Country/State field as the Opportunity object itself does not have a standard State/Country.

If the issue persists, please contact Salesforce Technical Support.

 

Numéro d’article de la base de connaissances

000387137

 
Chargement
Salesforce Help | Article