Message Exceeded Limit Azure Synapse Pipeline

Malte Thesenvitz 1 Reputation point
2022-12-14T17:26:07.6+00:00

I'm running a GET request to an API via an Synapse pipeline and a copy activity (Source: REST API, Sink: Parquet file). The vast majority of the time the pipeline and the copy activity run fine, but sometimes I'm getting the following error message:

Failure happened on 'Source' side. ErrorCode=RestResourceReadFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Fail to read from REST resource.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.Net.Http.HttpRequestException,Message=An error occurred while sending the request.,Source=mscorlib,''Type=System.Net.WebException,Message=The underlying connection was closed: The message length limit was exceeded.,Source=System

I've tried manually sending the API request that's causing the above error message and I am getting a successful response from the system. Additionally, when I run the same API request via the Azure pipeline a second time, it runs fine.

Thanks in advance for any guidance on this.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.