Issue
In Riva Cloud or Riva On-Premise, one of the following errors may occur.
Default country code not valid: [name of the default country code that does not exist in the Country pick list in your Salesforce instance] - Please ensure the default is spelled correctly and Metadata is up to date.
Default state code: [name of the default state code that does not exist in the State pick list in your Salesforce instance] - Please ensure the default is spelled correctly and Metadata is up to date.
Default state code: [name of the default state code that does not exist in the State pick list in your Salesforce instance] - Please ensure the default is spelled correctly and Metadata is up to date.
Possible Causes
- The default code is not spelled correctly.
- The metadata is not up to date.
Solution
The solution addresses both possible causes.
Follow the procedure for Mitigating the risk of sync errors.