Hi,
We are facing packets limitation issue in Power Automate Flow while passing Json object of size 2.90 MB (3,044,387 B) to SQL Stored procedure but still it’s giving the below error message :
Details :
JSON Size : 2.90 MB (3,044,387 B)
Step Name: Execute Stored Procedure
Error Message :
{
"error": {
"code": 502,
"source": "flow-apim-unitedstates-002-eastus-01.azure-apim.net",
"clientRequestId": "63391be3-7da3-4235-aee8-7f6bab0d64cb",
"message": "BadGateway",
"innerError": {
"status": 502,
"message": "Unexpected Exception : [0]Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.UncompressedDataSizeForPacketExceeded: Without compression algorithm, the uncompressed data size in a packet exceeds the max ServiceBus limit: Request packet size of 9601480 exceeded limit of 8500000\r\n\r\nGatewayPipelineErrorCode=DM_GWPipeline_Gateway_UncompressedDataSizeForPacketExceededError\r\nGatewayVersion=\r\nReason=Request packet size of 9601480 exceeded limit of 8500000\r\n ([0]Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.UncompressedDataSizeForPacketExceeded.StackTrace:)\r\n at Microsoft.PowerBI.DataMovement.Pipeline.LoadBalancer.LoadBalancer.<ExecuteImpAsync>d__61.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.PowerBI.DataMovement.Pipeline.LoadBalancer.LoadBalancer.<>c__DisplayClass5_0
1.<<ExecuteAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.PowerBI.DataMovement.GatewayDiagnostics.GatewayDiagnosticsTelemetryServiceBase.<ExecuteInActivity>d__101.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at Microsoft.PowerBI.DataMovement.Pipeline.AdoNetProvider.AdoTransferConnection.<ExecuteWithBindingRetryAsync>d__79
1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.PowerBI.DataMovement.Pipeline.AdoNetProvider.AdoTransferCommand.<>c__DisplayClass61_0.<<ExecuteDbDataReaderAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.PowerBI.DataMovement.GatewayDiagnostics.GatewayDiagnosticsTelemetryServiceBase.<ExecuteInActivity>d__101.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.PowerBI.DataMovement.GatewayDiagnostics.GatewayDiagnosticsTelemetryServiceBase.<ExecuteInTopLevelActivity>d__9
1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.Internal.DiagnosticsContext.DiagnosticsContextExecutor.<ExecuteInTopLevelActivity>d__9`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.PowerBI.DataMovement.Pipeline.AdoNetProvider.AdoTransferCommand.<ExecuteDbDataReaderAsync>d__61.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.PowerBI.DataMovement.GatewayMashupClient.Provider.MashupAdoNetProviderCommand.<ExecuteReaderAsync>d__3.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.PowerBI.DataMovement.GatewayMashupClient.GatewayMashupCommand.<ExecuteReaderAsync>d__31.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Azure.Connectors.Common.Mashup.Adapter.GatewayMashupQueryExecutor.<ExecuteReaderForActionAsync>d__12.MoveNext() in C:\__w\1\s\src\Connectors\Common\Mashup\Adapter\GatewayMashupQueryExecutor.cs:line 285\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Azure.Connectors.Common.Mashup.Adapter.MashupQueryExecutor.<InvokeMashupAsync>d__16.MoveNext() in C:\__w\1\s\src\Connectors\Common\Mashup\Adapter\MashupQueryExecutor.cs:line 351\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at Microsoft.Azure.Connectors.Common.Mashup.Adapter.MashupQueryExecutor.<InvokeMashupAsync>d__16.MoveNext() in C:\__w\1\s\src\Connectors\Common\Mashup\Adapter\MashupQueryExecutor.cs:line 396\r\n inner exception: Without compression algorithm, the uncompressed data size in a packet exceeds the max ServiceBus limit: Request packet size of 9601480 exceeded limit of 8500000\r\nclientRequestId: 63391be3-7da3-4235-aee8-7f6bab0d64cb",
"error": {
"message": "Unexpected Exception : [0]Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.UncompressedDataSizeForPacketExceeded: Without compression algorithm, the uncompressed data size in a packet exceeds the max ServiceBus limit: Request packet size of 9601480 exceeded limit of 8500000\r\n\r\nGatewayPipelineErrorCode=DM_GWPipeline_Gateway_UncompressedDataSizeForPacketExceededError\r\nGatewayVersion=\r\nReason=Request packet size of 9601480 exceeded limit of 8500000\r\n ([0]Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.UncompressedDataSizeForPacketExceeded.StackTrace:)\r\n at Microsoft.PowerBI.DataMovement.Pipeline.LoadBalancer.LoadBalancer.<ExecuteImpAsync>d__61.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.PowerBI.DataMovement.Pipeline.LoadBalancer.LoadBalancer.<>c__DisplayClass5_0
1.<<ExecuteAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.PowerBI.DataMovement.GatewayDiagnostics.GatewayDiagnosticsTelemetryServiceBase.<ExecuteInActivity>d__101.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at Microsoft.PowerBI.DataMovement.Pipeline.AdoNetProvider.AdoTransferConnection.<ExecuteWithBindingRetryAsync>d__79
1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.PowerBI.DataMovement.Pipeline.AdoNetProvider.AdoTransferCommand.<>c__DisplayClass61_0.<<ExecuteDbDataReaderAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.PowerBI.DataMovement.GatewayDiagnostics.GatewayDiagnosticsTelemetryServiceBase.<ExecuteInActivity>d__101.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.PowerBI.DataMovement.GatewayDiagnostics.GatewayDiagnosticsTelemetryServiceBase.<ExecuteInTopLevelActivity>d__9
1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.Internal.DiagnosticsContext.DiagnosticsContextExecutor.<ExecuteInTopLevelActivity>d__9`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.PowerBI.DataMovement.Pipeline.AdoNetProvider.AdoTransferCommand.<ExecuteDbDataReaderAsync>d__61.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.PowerBI.DataMovement.GatewayMashupClient.Provider.MashupAdoNetProviderCommand.<ExecuteReaderAsync>d__3.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.PowerBI.DataMovement.GatewayMashupClient.GatewayMashupCommand.<ExecuteReaderAsync>d__31.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Azure.Connectors.Common.Mashup.Adapter.GatewayMashupQueryExecutor.<ExecuteReaderForActionAsync>d__12.MoveNext() in C:\__w\1\s\src\Connectors\Common\Mashup\Adapter\GatewayMashupQueryExecutor.cs:line 285\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at Microsoft.Azure.Connectors.Common.Mashup.Adapter.MashupQueryExecutor.<InvokeMashupAsync>d__16.MoveNext() in C:\__w\1\s\src\Connectors\Common\Mashup\Adapter\MashupQueryExecutor.cs:line 351\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at Microsoft.Azure.Connectors.Common.Mashup.Adapter.MashupQueryExecutor.<InvokeMashupAsync>d__16.MoveNext() in C:\__w\1\s\src\Connectors\Common\Mashup\Adapter\MashupQueryExecutor.cs:line 396\r\n inner exception: Without compression algorithm, the uncompressed data size in a packet exceeds the max ServiceBus limit: Request packet size of 9601480 exceeded limit of 8500000"
},
"source": "sql-wus.azconn-wus-001.p.azurewebsites.net"
}
}
}
Additionally , Is there a way / setting through which we can increase the request size limit of 8.5 mb? Steps for this will be helpful. Furthermore, is this advisable?