我有一个数据工厂,可将数据从静态Web服务复制到Azure数据仓库中。我已经测试并预览了所有连接和数据集。我收到以下错误消息。
{ “ errorCode”:“ 2200”, “消息”:“ ErrorCode = InvalidParameter,'类型= Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message =属性'typeName'的值无效:'值不能为null。\ r \ n参数名称:typeName'。 ,Source =,''Type = System.ArgumentNullException,Message = Value不能为null。\ r \ n参数名称:typeName,Source = Microsoft.DataTransfer.Common,'“, “ failureType”:“ UserError”, “ target”:“ ImportLegs” }
管道源
{ “ name”:“导入行程数据”, “属性”:{ “活动”:[ { “ name”:“ ImportLegs”, “ type”:“复制”, “政策”:{ “ timeout”:“ 7.00:00:00”, “重试”:0, “ retryIntervalInSeconds”:30, “ secureOutput”:否, “ secureInput”:否 }, “ userProperties”:[ { “ name”:“ Source”, “值”:“ flightleg?StartDate = 01/01/2018&EndDate = 02/01/2018” }, { “ name”:“目的地”, “ value”:“ [旅行]。[腿]” } ], “ typeProperties”:{ “资源”: { “ type”:“ RestSource”, “ httpRequestTimeout”:“ 00:01:40”, “ requestInterval”:“ 00.00:00:00.010” }, “接收器”:{ “ type”:“ SqlDWSink”, “ allowPolyBase”:否, “ writeBatchSize”:10000 }, “ enableStaging”:否, “ enableSkipIncompatibleRow”:是, “翻译”:{ “ type”:“ TabularTranslator”, “映射”:[ { “资源”: { “路径”:“ id” }, “接收器”:{ “名称”:“来源” } }, { “资源”: { “ path”:“ actualArrivalDateLocal” }, “接收器”:{ “名称”:“目的地” } }, { “资源”: { “ path”:“ actualArrivalDateUTC” }, “接收器”:{ “名称”:“ FlightLogDistance” } }, { “资源”: { “ path”:“ actualBlockTime” }, “接收器”:{ “名称”:“ FlightLogFlightTime” } }, { “资源”: { “路径”:“ actualDepartureDateLocal” }, “接收器”:{ “名称”:“飞机” } }, { “资源”: { “路径”:“ actualDepartureDateUTC” }, “接收器”:{ “名称”:“ ScheduledDepartDate” } } ] } }, “输入”:[ { “ referenceName”:“ FlightLeg”, “ type”:“ DatasetReference” } ], “输出”:[ { “ referenceName”:“ TripLegDW”, “ type”:“ DatasetReference” } ] } ] }, “ type”:“ Microsoft.DataFactory / factories / pipelines” }
答案 0 :(得分:1)
我也有同样的错误,经过研究,我找到了解决方案。发布以进一步帮助某人。
错误-
{
"errorCode": "2200",
"message": "ErrorCode=UserErrorFailedS3FileReadOperation,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The operation on file part-00000-.csv.gz under directory test-bucket/abc_backfill/abc_visits is failed due to exception. ,Source=Microsoft.DataTransfer.ClientLibrary.MultipartBinaryConnector,''Type=Amazon.S3.AmazonS3Exception,Message=Error making request with Error Code Forbidden and Http Status Code Forbidden. No further error information was returned by the service.,Source=AWSSDK.Core,''Type=Amazon.Runtime.Internal.HttpErrorResponseException,Message=The remote server returned an error: (403) Forbidden.,Source=AWSSDK.Core,''Type=System.Net.WebException,Message=The remote server returned an error: (403) Forbidden.,Source=System,'",
"failureType": "UserError",
"target": "Copy data1",
"details": []
}
解决方案-我发现这是一些访问问题。即使在测试连接时它也会成功,但是在执行管道时却会失败并显示上述消息。我发现,我正在访问错误的目录。如上所述,abc_backfill是具有abc_visits的根目录或共享目录,并且出现问题。
我发现我有另一个共享目录,该目录指向abc_testbackfill,它指向相同的abc_visits。一旦我在数据集中更改为abc_testbackfill。它开始工作。 所以我相信我没有abc_backfill共享的访问权限,并且出现错误。