Query by pipeline run empty body responde

Francisco Dominguez 386 Reputation points
2021-07-27T11:50:32.677+00:00

Hi,

I'm trying to run an HTTP request to gather the data of the activities ran in a certain pipeline. The documentation I've been following is this one: https://learn.microsoft.com/en-us/rest/api/datafactory/activity-runs/query-by-pipeline-run

On top of that document, we have a "Try it" button. I ran a certain pipeline in my ADF and filled the gaps as needed. I also set the request body as follows:

{  
 lastUpdatedAfter: "2021-07-27T10:35:15.805",  
 lastUpdatedBefore: "2021-07-27T10:39:16.805"  
}  

Which is the execution time of that pipeline with a certain margin. But, I'm receiving no body when executing that request either via ADF (using an Azure Function) or via the mentioned button.

{  
  "value": []  
}  

The response code was 200 every time, so I don't really know what I'm doing wrong.

Any help is appreciated.

Thanks.

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

Accepted answer
  1. MartinJaffer-MSFT 26,236 Reputation points
    2021-07-28T08:52:46.763+00:00

    Yes, the publishing DOES matter, @Francisco Dominguez .

    Only published pipeline runs are "real". Debug runs are considered separate from triggered runs. If your pipeline has not been published, then I figure you must have been using debug runs.

    This is equivalent to opening the visual authoring tool, and going to the monitor section. There are separate sections for "pipeline runs" and "debug runs".

    Does this make sense?


0 additional answers

Sort by: Most helpful

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.