Hi,
I'm using dataverse-ify version 2.0.7. I'm trying to send a batch request using the executeMultiple function. When the target object contains a lookup field with undefined/null value, I get the below error.
Error identified in Payload provided by the user for Entity :'(entity name removed)', For more information on this error please follow this help link https://go.microsoft.com/fwlink/?linkid=2195293
----> InnerException : Microsoft.Crm.CrmException: Invalid property '(lookup field name removed)' was found in entity 'Microsoft.Dynamics.CRM.(entity name removed)'.
---> Microsoft.OData.ODataException: Does not support untyped value in non-open type.
I also checked the normal create function and got the same error. The target object looks like this:
{
logicalName: "new_entityname",
new_name: "some name",
new_lookupfield: null
}