I'm trying to import Vendor Bill data. I have the Vendor ID from the source file, but not the Vendor's internalid. I can only choose either the Vendor Name or Vendor InternalID from the import field selections. Therefore, I am trying to lookup the vendor's InternalID by using the vendor ID which I have from the source file. It does not look like I used the Lookup field mapping type feature correctly because I am getting an error.
error: Message: Both lookupKey and lookupFilterExpression are missing for mapping {"celigo_classname":"Celigo.integrator.mapping.model.FieldMapping","jsField":"entity","externalField":"$.VendorID","lookupAllowFailures":false,"lookupType":"record","lookupSource":"vendor","lookupValue":"entityid","internalId":true,"externalDatatype":"string"}
I am also encountering this issue in my production instance. Interestingly, I did not experience this issue in my sandbox instance (also connected to the Netsuite sandbox).
Message: Both lookupKey and lookupFilterExpression are missing for mapping {"celigo_classname":"Celigo.integrator.mapping.model.FieldMapping","jsField":"entity","externalField":"$.customer","lookupAllowFailures":false,"lookupType":"record","lookupSource":"customer","lookupValue":"internalid","internalId":true,"externalDatatype":"string"}
I also attempted to change the operator to "equal to", which did not fix the issue for me.
Message: Both lookupKey and lookupFilterExpression are missing for mapping {"celigo_classname":"Celigo.integrator.mapping.model.FieldMapping","jsField":"celigo_nlobjTransformId","externalField":"$.orderID","lookupAllowFailures":false,"lookupType":"record","lookupSource":"salesorder","lookupValue":"internalid","internalId":true}
You are getting an error message in your lookup mapping {"celigo_classname":"Celigo.integrator.mapping.model.FieldMapping","jsField":"entity","externalField":"$.VendorID","lookupAllowFailures":false,"lookupType":"record","lookupSource":"vendor","lookupValue":"entityid","internalId":true,"externalDatatype":"string"}
What we did is to configure the lookup again (since it wasn't configured upon joining the meeting) then enabled the flow and run the flow.
The record seems to be getting imported successfully but in the mappings upon hitting the preview, you are still getting the same error message.
Since the flow is enabled now, we remove the mapping where the lookup is configured and then re-add it back, just like a charm, the error disappeared and the flow is working as intended now.
Please let us know if this helps in resolving your issue.
Your described process didn't work for my case. This is a very annoying bug, it effectively makes the mapping preview unavailable. Is there a bug logged for this issue?
Hi @steveklett. Hope your issue has been resolved. If you are still facing this issue, please provide your credentials in the support ticket that was opened with the support team with incident #187271 and they will be able to look into this further.