azure - Azure 数据工厂中的 Web 活动问题
问题描述
执行我的管道时出现错误。
错误
{ "errorCode": "2108", "message": "调用端点出错。响应状态码:", "failureType": "UserError", "target": "Web1" }
这是我的代码:
{“名称”:“管道1”,“属性”:{“活动”:[{“名称”:“Web1”,“类型”:“WebActivity”,“策略”:{“超时”:“7.00:00: 00”,“重试”:0,“retryIntervalInSeconds”:30,“secureOutput”:假,“secureInput”:假},“typeProperties”:{“url”:“ http://00.00.00.00:8000/name? env=DEV ", "方法": "GET" } } ] } }
解决方案
确保您输入了有效的“url-目标端点和路径”。
我尝试使用有效的 url 并且作业成功。
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 Activity。
有关更多详细信息,请参阅“<a href="https://docs.microsoft.com/en-us/azure/data-factory/control-flow-web-activity" rel="nofollow noreferrer">Azure 中的 Web 活动数据工厂”。
希望这可以帮助。
推荐阅读
- google-apps-script - 如何在新创建的 Google 表格中使用我的插件菜单?
- image - 检测两个图像之间的伪影差异
- ubuntu - tftp options put 选项不上传文件
- node.js - Mikro ORM:属性在 orm.em.create() 上有任何类型;
- rust - 为什么在 rust 中写入文件时出现“错误的文件描述符”错误?
- c++ - 如何在 Visual Studio 项目中使用 C++ 库方法
- hex - 假设您购买具有 512 MB RAM 的 32 位 PC。已安装内存的最后一个字节的 8 位十六进制数字地址是什么?
- python - 如何检测图像中的凸/凹曲线?
- c++ - 深色主题不适用于标题栏
- python - Selenium 找不到 xpath 或 css 选择器