The full error message reads:


"CreateMasterDataTableIISystem.Runtime.InteropServices.COMException (0x800A005B): Object variable or With block variable not set
   at Blackbaud.PIA.RE7.BBREAPI.IBBMetaField.get_DefaultValue(Int32 lFieldConstant)
   at ZeidmanDevelopment.RECommon.GenericFieldHandler.GetDefaultREValue(bbMetaObjects metaId, Int32 fieldId)
   at Importacular.DataReview.�(String �, Field �, IDataSourceItemBase �)
   at Importacular.DataReview.�(Boolean �, Boolean �, String& �)
   at Blackbaud.PIA.RE7.BBREAPI.IBBMetaField.get_DefaultValue(Int32 lFieldConstant)
   at ZeidmanDevelopment.RECommon.GenericFieldHandler.GetDefaultREValue(bbMetaObjects metaId, Int32 fieldId)
   at Importacular.DataReview.�(String �, Field �, IDataSourceItemBase �)
   at Importacular.DataReview.�(Boolean �, Boolean �, String& �)"


This error arises with GiftAid. It looks like there is an issue with the RE API that Importacular is not taking into consideration.


When you use the "Conditionally Update Values" based on another field, if the rule does not agree, Importacular sets the value to the default RE value. In the majority of cases, this is a blank but for tickboxes this may be ticked or unticked. For some fields it is an actual value e.g. dropdown values that always have a value such as gift type etc.

There is a case in the RE API for GiftAid declarations where the RE API crashes when you attempt to retrieve the default value. 

If you are not using a data transformation, then you could use a transformation on the pays tax field. If it is a value of yes then transform it to a tick, otherwise i.e. using a catch all, leave it blank. With the case of GiftAid the conditionally update values is causing RE API to crash so we would recommend just using the data transformation. You should get the same result as a blank field will not be imported and ought to prevent the whole record from being created.

This was reported in version 4.8 and is slated to be corrected in a future version.