Azure / Azure/Azure-DataFactory
Web activity does not output status code or response body upon failure
- Dominant language
- PowerShell
- Stars
- 529
- Forks
- 623
- PR merge metrics
- No merged PRs in 30d
Description
When I use a Web activity in ADF, I would like to be able to grab the output from a failed call, so it can be logged / used elsewhere in the pipeline
### Observed result:
When a Web activity fails it outputs the following:
```json
{
"effectiveIntegrationRuntime": "AutoResolveIntegrationRuntime (East US 2)",
"executionDuration": 0,
"durationInQueue": {
"integrationRuntimeQueue": 0
},
"billingReference": {
"activityType": "ExternalActivity",
"billableDuration": [
{
"meterType": "AzureIR",
"duration": 0.016666666666666666,
"unit": "Hours"
}
]
}
}
```
### Expected result:
When a Web activity fails it should output something like the following, in addition to the above:
```json
{ ...
"statusCode": "401",
"response":
{
"message": "Authentication failed"
}
}
Contributor guide
Assessment
This issue has not been assessed yet.