How to Fix the InternalServerError in Executing a ADF Pipeline?

Nitin Patil 20 Reputation points
2024-07-22T17:39:46.4166667+00:00

I have a foreach loop in my Azure Data Factory pipeline with three activities. The first activity uses a Self-Hosted Integration Runtime (SHIR) to copy data from an On-premises SQL Server to Azure Data Lake Storage Gen2 (ADLS2). The second activity is a pipeline (PL_Delta_Infinity_ADLS_To_ASQL) that invokes a data flow (DF_Upsert_To_ASQL_Infinity). This data flow reads data from ADLS2 and performs an upsert operation to write it into an Azure SQL Database using the Alter row transformation.

Up until 10 AM today, everything was functioning correctly. However, after 10 AM, the second activity began encountering an error. The error code reported is "InternalServerError," with a failure type of "system error," and the details indicate "InternalServerError executing request." This issue specifically occurs during the process of reading data from ADLS2 and writing it to the Azure SQL Database.

I have verified that the Azure SQL Database is accessible and operational by connecting through SQL Server Management Studio (SSMS). Additionally, I confirmed the functionality of the linked services to ADLS2 and the Azure SQL Database by successfully previewing the data through them.

I'm seeking assistance to understand the root cause of this issue and to troubleshoot the "InternalServerError" error affecting the data flow operation in my Azure Data Factory pipeline. Any guidance on resolving this would be greatly appreciated.

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

Accepted answer
  1. Bhargava-MSFT 31,116 Reputation points Microsoft Employee
    2024-07-24T22:50:54.6366667+00:00

    Hello Nitin Patil,

    Thanks for providing the additional details. After further checking with my internal team, the failures could be due to a transient networking issue.

    This error should be very rare, and retries should typically mitigate this.

    If the retries do not resolve the issue, please raise a support ticket so that the support team can engage with the product group to investigate further.

    If you don't have a support plan, please let me know so I can provide a one-time free support request to address this.

    I look forward to hearing from you.

    1 person found this answer helpful.

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.