Reputation: 585
Getiing Below Error While Executing my pipeline.
Error
{ "errorCode": "2108", "message": "Error calling the endpoint. Response status code: ", "failureType": "UserError", "target": "Web1" }
Here is My Code:
{ "name": "pipeline1", "properties": { "activities": [ { "name": "Web1", "type": "WebActivity", "policy": { "timeout": "7.00:00:00", "retry": 0, "retryIntervalInSeconds": 30, "secureOutput": false, "secureInput": false }, "typeProperties": { "url": "http://00.00.00.00:8000/name?env=DEV", "method": "GET" } } ] } }
Upvotes: 0
Views: 6473
Reputation: 12788
Make sure you have entered valid “url–Target endpoint and path”.
I have tried with valid url and the Job was successful.
JSON Code for the web 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 which is succeeded.
For more details, refer “Web activity in Azure Data Factory”.
Hope this helps.
Upvotes: 0