Azure 数据工厂中的 Web Activity 问题
Web Activity Issue In Azure Data Factory
执行管道时出现以下错误。
错误
{
"errorCode": "2108",
"message": "Error calling the endpoint. Response status code: ",
"failureType": "UserError",
"target": "Web1"
}
这是我的代码:
{
"name": "pipeline1",
"properties":{
"activities": [
{
"name": "Web1",
"type": "WebActivity",
"policy":{
"timeout": "7.00:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput":错误,
"secureInput": 错误
},
"typeProperties":{
"url": "http://00.00.00.00:8000/name?env=DEV",
"method": "GET"
}
}
]
}
}
确保您输入了有效的“url–目标端点和路径”。
我已尝试使用有效 url 并且作业成功。
JSON 网络代码 activity:
{
"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 Activity 成功。
详情请参考“Web activity in Azure Data Factory”。
希望对您有所帮助。
执行管道时出现以下错误。
错误
{ "errorCode": "2108", "message": "Error calling the endpoint. Response status code: ", "failureType": "UserError", "target": "Web1" }
这是我的代码:
{ "name": "pipeline1", "properties":{ "activities": [ { "name": "Web1", "type": "WebActivity", "policy":{ "timeout": "7.00:00:00", "retry": 0, "retryIntervalInSeconds": 30, "secureOutput":错误, "secureInput": 错误 }, "typeProperties":{ "url": "http://00.00.00.00:8000/name?env=DEV", "method": "GET" } } ] } }
确保您输入了有效的“url–目标端点和路径”。
我已尝试使用有效 url 并且作业成功。
JSON 网络代码 activity:
{
"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 Activity 成功。
详情请参考“Web activity in Azure Data Factory”。
希望对您有所帮助。