Forum Discussion

gopala000's avatar
gopala000
Frequent Visitor
1 year ago
Solved

Dataflow Id as variable is not working in a pipeline

I created a pipeline that

  1. sets a variable with a value as an existing dataflow Gen2's name.
  2. In the conditional, I check for the variable to match that name.
  3. Execute the dataflow with the dataflowId as the variable's value. (See image)

When I run the pipeline, I get the error "Microsoft.DataTransfer.Execution.Core.ExecutionException: Refresh Dataflow failed with status: NotFound message: Not Found".  I'd expect the dataflow to run as it exist already.

 

Can you tell what the issue could be?

 

  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi gopala000 ,

     

    The error message “Refresh Dataflow failed with status: NotFound” indicates that the pipeline was unable to find the specified Dataflow Gen2.
    The dataflowId variable value used in the pipeline is not the actual resource ID (GUID) of the Dataflow Gen2, but a Name or other invalid value. Try extracting the ID from the URL to ensure that the variable value matches that ID exactly.


    Best Regards,
    Adamk Kong

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi gopala000 ,

     

    The error message “Refresh Dataflow failed with status: NotFound” indicates that the pipeline was unable to find the specified Dataflow Gen2.
    The dataflowId variable value used in the pipeline is not the actual resource ID (GUID) of the Dataflow Gen2, but a Name or other invalid value. Try extracting the ID from the URL to ensure that the variable value matches that ID exactly.


    Best Regards,
    Adamk Kong

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi gopala000 ,

       

      Thanks for your feedback.

       

      Best regards,

      Adamk Kong