Salesforce customers can enable State and Country pick lists that enforce the use of valid values in the State and Country fields in CRM contact and lead records. The pick lists are enabled by navigating to Setup -> Data Management -> State and Country Picklists and following the procedures specified.
Either way, whether by automatic detection or by fixing the error, the sync process is now ready to sync contacts to a Salesforce instance that uses State and Country pick lists.
To prevent a sync error when the State and Country fields in the email contact do not match perfectly any values in the Salesforce pick lists, you can configure the sync to supply default values when email contacts contain invalid country or state values.
Implementation for Riva Cloud
Implementation for Riva On-Premise
To make the sync supply a valid default value if the country code or state/province code in the email contact is invalid in Salesforce: