使用数据工厂将产品表的数据导入动态 365 时,出现此错误:
{
"errorCode": "2200",
"message": "Failure happened on 'Sink' side. ErrorCode=UserErrorTypeConversionFail,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The attribute 'statecode' with value '0' cannot be converted from original type 'System.Int64' to target type 'Microsoft.Xrm.Sdk.OptionSetValue'.,Source=Microsoft.DataTransfer.ClientLibrary.DynamicsPlugin,''Type=System.InvalidCastException,Message=Specified cast is not valid.,Source=Microsoft.DataTransfer.ClientLibrary.DynamicsPlugin,'",
"failureType": "UserError",
"target": "Copy data1",
"details": [] }
这适用于所有值都设置为 0 的字段“statecode”,以便正在导入的产品的状态是活动的。我无法找到解决此错误的方法。