[英]Azure Data Factory. Unable to load files via HTTP Connector
To load files from a remote server to an Azure BLOB Storage, I am working on this tutorial from Azure team: Copy data from an HTTP endpoint by using Azure Data Factory or Azure Synapse Analytics .
我需要通過此 API 從該站點加載公開可用的文件:通過 API https://api.usaspending.gov/api/v2/download/disaster/
此處提供了使用 API(以及上述鏈接站點中的其他 API)的教程。
但是當我運行管道時,出現以下錯誤:
ErrorCode=HttpFileFailedToRead,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=無法從 http 服務器讀取數據。 從http服務器查看錯誤:遠程服務器返回錯誤:(405) Method Not Allowed.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.Net.WebException,Message=遠程服務器返回錯誤:( 405) 方法不允許。,來源=系統,'
問題:我們如何使用 Azure 數據工廠中的上述 API 端點從他們的遠程服務器加載公開可用的文件?
備注:根據他們的網站: /api/v2/download/disaster/ POST Returns a zipped file containing Account and Award data for the Disaster Funding
我們對 ADF Pipeline 的Source
的配置:
以上源碼測試成功,如下圖:
目的地(一個 Azure 數據湖存儲)也測試成功,如下所示:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.