ADF copy data issue

Emma Rowley 6 Reputation points
2021-10-12T15:20:23.68+00:00

I have ADF pipeline which has a copy data activity connecting to Rest API as the source and Blob Storage as the sink.

For the Rest API the "Test Connection" for Linked Service (REST) is successful, the "Preview data" of Pipeline Source gives me the data as expected. However when I trigger my flow I am getting the following error message:

Error code: 2200

Failure type: User configuration issue

Details:
Failure happened on 'Source' side. ErrorCode=UserErrorFailToReadFromRestResource,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=An error occurred while sending the request.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.Net.Http.HttpRequestException,Message=An error occurred while sending the request.,Source=mscorlib,''Type=System.Net.WebException,Message=Unable to connect to the remote server,Source=System,''Type=System.Net.Sockets.SocketException,Message=A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Any idea about how I can fix this? I don't understand why I can preview the data successfully but the flow fails when triggered.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,373 questions
{count} vote

3 answers

Sort by: Most helpful
  1. GabrieleP 6 Reputation points
    2021-10-25T06:43:23.153+00:00

    Hi @KranthiPakala-MSFT ,

    thanks for your replay.
    I have investigated deeper and I realized that it was a firewall issue. Some blocking rules didn't allow to reach out the datasource.
    I'm sorry for the question, everything is working well now.

    1 person found this answer helpful.

  2. Ram Raju 6 Reputation points
    2021-10-26T14:07:47.333+00:00

    @GabrieleP Can you please share how you resolved this issue? I am currently facing the same issue. Thanks!

    0 comments No comments

  3. Antonio Sagbini 1 Reputation point
    2022-01-13T04:20:53.757+00:00

    I too was having the same issue, and it turned out to be a Firewall issue as mentioned by @GabrieleP

    My setup was copying data from a rest API to a SQL on-Prem database going through an Integration Runtime.

    Once the networks guys opened the Firewall between my Integration Runtime server and the target API Url, the Data Factory package worked.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.