Unable to Parse the output of ADF web activity

Aman Sharma 1 Reputation point
2021-11-30T08:03:36.72+00:00

Please check the issue in the link :

https://learn.microsoft.com/en-us/answers/questions/467308/calling-rest-api-with-web-activity-cannot-parse-th.html

I am facing issue similar to this

@ShaikMaheer-MSFT -Can you please help

I am using http connector to download data

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

1 answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 38,546 Reputation points Microsoft Employee Moderator
    2021-12-01T14:19:50.517+00:00

    @Aman Sharma ,

    As per the issue in https://learn.microsoft.com/en-us/answers/questions/467308/calling-rest-api-with-web-activity-cannot-parse-th.html, there API is going to download a file.

    So, when your API is going to download a file then we should use HTTP connector. If response is going to json data back not downloading an file then we should use REST connector.

    Consider below steps of implementation to make it work.
    Step1: Create a dataset with HTTP Connector as your API going to download file.
    Step2: Create a dataset for your sink
    Step3: Use Copy activity, use step1 dataset as source and step2 dataset as Sink.

    Hope this helps. Please let us if know if any further queries.

    ------------

    Please consider hitting Accept Answer. Accepted answers helps community as well. Thank you.


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.