Loading

Salesforce Error “There’s a Problem with This Country or State” When Saving a Record

Publiseringsdato: Oct 7, 2026
Beskrivelse

When you save a record with address fields in Salesforce (such as a Lead, Contact or Account), you may see one of these error messages:

  • "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 error occurs when State and Country values that do not exist yet in Salesforce are inserted into the database. Examples include:

  • Importing records and specifying state and country values that are not in Salesforce
  • Updating contacts via Stay in Touch
  • Web-to-Lead inserting Leads with incorrect or unavailable state and country values
Løsning

This article explains why Salesforce shows the error "There's a problem with this country or state" when you save a record, and how to fix it by checking the State and Country/Territory Picklists.

How to Fix the Country or State Error

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

How to Check Whether a State and Country/Territory Is Valid and Active

Open the State and Country/Territory Picklists page:

  • 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 the Country is currently active.
  3. Click Edit on the left side of the country to check the State/Province under the country and confirm it is active.
  4. (Optional) If you cannot find the Country or the State, click the New Countries/Territories or New State button to add it.
  5. Fill in the required fields, select Active, and click Save.

Error on a User's Personal Settings

The same error can occur while changing user settings if the State/Province and Country fields have invalid values in the user's personal settings. The user can correct this by following this click path: My Settings | Personal | Personal Information (Address section).

Error on Opportunity Save

If the error appears when you save an Opportunity, check the related Account record and update the Country and State fields. The Opportunity object itself does not have a standard State or Country field.

If the issue persists, contact Salesforce Technical Support.

Knowledge-artikkelnummer

000387137

 
Laster
Salesforce Help | Article