簡體   English   中英

Azure數據工廠中的Web活動問題

[英]Web Activity Issue In Azure Data Factory

執行我的管道時,在錯誤下進行Getiing。

錯誤

{“errorCode”:“2108”,“message”:“調用端點時出錯。響應狀態碼:”,“failureType”:“UserError”,“target”:“Web1”}

這是我的代碼:

{“name”:“pipeline1”,“properties”:{“activities”:[{“name”:“Web1”,“type”:“WebActivity”,“policy”:{“timeout”:“7.00:00: 00“,”重試“:0,”retryIntervalInSeconds“:30,”secureOutput“:false,”secureInput“:false},”typeProperties“:{”url“:”http://00.00.00.00.00:8000 /名? env = DEV “,”方法“:”GET“}}]}}

確保您輸入了有效的“url-Target端點和路徑”。

我嘗試過有效的網址並且Job成功了。

Web活動的JSON代碼:

{
    "name": "pipeline1",
    "properties": {
        "activities": [
            {
                "name": "Webactivity",
                "type": "WebActivity",
                "policy": {
                    "timeout": "7.00:00:00",
                    "retry": 0,
                    "retryIntervalInSeconds": 30,
                    "secureOutput": false,
                    "secureInput": false
                },
                "typeProperties": {
                    "url": "https://www.microsoft.com/",
                    "method": "GET",
                    "body": ""
                }
            }
        ]
    }
}

Web活動成功了。

在此輸入圖像描述

有關更多詳細信息,請參閱“ Azure數據工廠中的Web活動 ”。

希望這可以幫助。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM