Celigo Error: Invalid country reference key

This error is generated within a unique circumstance: 

  1. The flow was developed for an earlier NetSuite bundle that had the Address subrecord set by default. 
  2. This Address as a subrecord default import setting was later removed in a bundle update. 
  3. The sandbox or production environment’s bundle was upgraded to the latest version. 

With the current bundle release, that missing Address subrecord then throws an error. 

To re-enable Address subrecord and fix this error, hardcode the Use Address Subrecord to True in the import mappings. 

Leave a comment

Your email address will not be published. Required fields are marked *