[英]Azure data factory V2 copy data issue - error code: 2200 An item with the same key has already been added
I am trying to copy data from a csv file into the Azure sql but I am getting an unique error only during the deployment of pipeline.我正在尝试将 csv 文件中的数据复制到 Azure sql 中,但我仅在部署管道期间遇到唯一错误。 I am using a normal copy data我正在使用普通的复制数据
{ "errorCode": "2200", "message": "ErrorCode=InvalidParameter,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The value of the property '' is invalid: 'An item with the same key has already been added.'.,Source=,''Type=System.ArgumentException,Message=An item with the same key has already been added.,Source=mscorlib,'", "failureType": "UserError", "target": "Copy data1", "details": [] } { "errorCode": "2200", "message": "ErrorCode=InvalidParameter,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=属性的值''无效:'具有相同键的项已添加。'.,Source=,''Type=System.ArgumentException,Message=已添加具有相同键的项。,Source=mscorlib,'", "failureType": "UserError", "target ": "复制数据1", "详细信息": [] }
Kindly help to solve请帮忙解决
The above error is due to a duplicate column/header in the csv file.上述错误是由于 csv 文件中的重复列/标题造成的。 The exception message states An item with the same key has already been added that is the duplicate column might be getting added to a dictionary and the exception has been thrown.异常消息指出已添加具有相同键的项,即重复列可能正在添加到字典中,并且已引发异常。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.