Print this page

Error message while importing data related to mailing country code

Knowledge Article Number 000193991
Description

If you're getting the error message, " ERROR:Mailing Country Code: bad value for restricted picklist field" and are unable to import data we'll show you what to do to fix the error.

Resolution

If state and country picklist field is enabled, Salesforce has strict rules on how to fill them in. If the value in the import doesn't match the value that is used in Salesforce, you'll encounter one of the following errors.

   Mailing Country Code: bad value for restricted picklist field: {value}
   Billing Country Code: bad value for restricted picklist field: {value}
 

One of the options for you to resolve the issues fast is to disable the state and country picklist feature in Salesforce for the time of the migration.





promote demote