how to fix task canceled error from Azure Data Factory, Pipeline

Arthur Choi 5 Reputation points
2023-02-19T23:43:04.6366667+00:00

Hello
The error below has occurred.
Let me know what I'm gonna do.

Error : 'Type=System.Threading.Tasks.TaskCanceledException,Message=A task was canceled.,Source=mscorlib,'

A pipeline trigger was executed in Azure Data Factory.

Thank you.

Azure SQL Database
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. SSingh-MSFT 16,371 Reputation points Moderator
    2023-02-20T03:41:21.24+00:00

    Hi @Arthur Choi ,

    Welcome to Microsoft Q&A forum and thanks for using Azure Services.

    As I understand from the question, error is coming 'Type=System.Threading.Tasks.TaskCanceledException,Message=A task was canceled.,Source=mscorlib,' when a Pipeline is executed by Trigger.

    The Task got cancelled which signifies probably a Timeout has occurred in the activities used in the Pipeline.

    Please check if the pipeline has dependency on other pipelines and those executed fine.

    You may also check the trigger state if it is active.

    Additionally, if the above checks do not help, please share the snippet of the pipeline and configuration details to investigate further.

    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.