Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Alex_Rajkov
Advocate III
Advocate III

Dataflow: Random Errors while trying to refresh NAV ODATA queries via enterprice gateway

Hello,

 I am having problems with the refresh (scheduled and manuell) of dataflows.

 

The setup: In NAV 13 I published the needed tables as OData web services. The connection runs through a enterprise gateway (latest version). The Power Query editor is able to connect and show the preview. Also the validation is showing no errors.

But most of the time, refreshing the dataflow fails. The protocoll is pointing to different tables every time. Meaning what works in one refresh try, fails the next time.

 

How can the refresh / connection be that unstable?
I never experienced such things while getting the data via Power BI desktop.

 

KR Alex

 

Here are the error descriptions:

ERROR 1

Invalid date,NAV ODATA,Fehler,Leistungszeile Archiv,06/02/2019 04:00:01,06/02/2019 04:00:06,Fehler,Error: An internal error occurred... RootActivityId = 983c0371-5655-441f-b555-8c00016c96b0.Param1 = Received error payload from gateway service with ID 1952277: Async operation 61a19f31-2be4-4ab7-8bf4-a39b5f0fe73f is faulted with [0]Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.MashupDataAccessValueException: Mashup expression evaluation error. Reason: .

 

GatewayPipelineErrorCode=DM_GWPipeline_Gateway_MashupDataAccessError

GatewayVersion=3000.0.265

Reason= --->

[1]Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.GatewayPipelineWrapperException: Substituted: MashupValueException:<pi>Microsoft.Data.Mashup.MashupValueException (0x80004005): OData: Fehler bei der Anforderung: Der Remoteserver hat einen Fehler zurückgegeben: (500) Interner Serverfehler. (An error occurred while processing this request.)

   bei Microsoft.Data.Mashup.ProviderCommon.MashupResource.<>c__DisplayClass6`1.<StartEvaluationAndGetResultSource>b__4()

   bei Microsoft.Mashup.Security.Impersonation.RunAsProcessUser[T](Func`1 func)

   bei Microsoft.Data.Mashup.MashupCommand.EvaluateAndGetSource[T](String commandText  CommandType commandType  Int32 commandTimeout  MashupParameterCollection parameters  String resultTransform  Boolean forColumnInfo  Boolean executeAction)

   bei Microsoft.Data.Mashup.MashupCommand.ExecuteReader(CommandBehavior commandBehavior  MashupCommandBehavior mashupCommandBehavior)

   bei Microsoft.PowerBI.DataMovement.Pipeline.MashupCommon.MashupUtils.ExecuteReaderAsync(DbCommand command  ExecuteQueryRequest queryRequest)

   bei Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.GatewayProcessor.<>c__DisplayClass3_2.<<ExecuteAdoQuery>b__1>d.MoveNext()

--- Ende der Stapelüberwachung vom vorhergehenden Ort  an dem die Ausnahme ausgelöst wurde ---

   bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   bei Microsoft.PowerBI.DataMovement.Pipeline.Common.Diagnostics.PipelineTelemetryService.<ExecuteInActivity>d__7`1.MoveNext()

--- Ende der Stapelüberwachung vom vorhergehenden Ort  an dem die Ausnahme ausgelöst wurde ---

   bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   bei Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.GatewayProcessor.<>c__DisplayClass3_0.<<ExecuteAdoQuery>b__0>d.MoveNext()</pi>

 

GatewayPipelineErrorCode=DM_GWPipeline_UnknownError

GatewayVersion=

InnerType=MashupValueException

InnerMessage=<pi>OData: Fehler bei der Anforderung: Der Remoteserver hat einen Fehler zurückgegeben: (500) Interner Serverfehler. (An error occurred while processing this request.)</pi>

InnerToString=<pi>Microsoft.Data.Mashup.MashupValueException (0x80004005): OData: Fehler bei der Anforderung: Der Remoteserver hat einen Fehler zurückgegeben: (500) Interner Serverfehler. (An error occurred while processing this request.)

   bei Microsoft.Data.Mashup.ProviderCommon.MashupResource.<>c__DisplayClass6`1.<StartEvaluationAndGetResultSource>b__4()

   bei Microsoft.Mashup.Security.Impersonation.RunAsProcessUser[T](Func`1 func)

   bei Microsoft.Data.Mashup.MashupCommand.EvaluateAndGetSource[T](String commandText  CommandType commandType  Int32 commandTimeout  MashupParameterCollection parameters  String resultTransform  Boolean forColumnInfo  Boolean executeAction)

   bei Microsoft.Data.Mashup.MashupCommand.ExecuteReader(CommandBehavior commandBehavior  MashupCommandBehavior mashupCommandBehavior)

   bei Microsoft.PowerBI.DataMovement.Pipeline.MashupCommon.MashupUtils.ExecuteReaderAsync(DbCommand command  ExecuteQueryRequest queryRequest)

   bei Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.GatewayProcessor.<>c__DisplayClass3_2.<<ExecuteAdoQuery>b__1>d.MoveNext()

--- Ende der Stapelüberwachung vom vorhergehenden Ort  an dem die Ausnahme ausgelöst wurde ---

   bei System.Ru

 

 

ERROR 2

Invalid date,NAV ODATA,Fehler,Kreditor,06/02/2019 04:00:01,06/02/2019 04:00:06,Fehler,Error: An internal error occurred... RootActivityId = 983c0371-5655-441f-b555-8c00016c96b0.Param1 = The operation failed due to an explicit cancellation. Exception: System.Threading.Tasks.TaskCanceledException: A task was canceled.

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.PowerBI.DataMovement.Pipeline.Common.TDFHelpers.<>c__DisplayClass9_0`1.<<GetNextResponse>b__0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.PowerBI.DataMovement.Pipeline.Common.TDFHelpers.<>c__DisplayClass13_0.<<ExecuteBlockOperation>b__0>d.MoveNext() Request ID: b82a1126-4e5f-4714-b16f-b9b8a0f83deb.

Invalid date,NAV ODATA,Fehler,Kreditorenposten,06/02/2019 04:00:01,06/02/2019 04:00:06,Fehler,Error: The current operation was canceled because one or more operations failed... RootActivityId = 983c0371-5655-441f-b555-8c00016c96b0 Request ID: b82a1126-4e5f-4714-b16f-b9b8a0f83deb.

Invalid date,NAV ODATA,Fehler,Mitarbeiter,06/02/2019 04:00:01,06/02/2019 04:00:06,Fehler,Error: The current operation was canceled because one or more operations failed... RootActivityId = 983c0371-5655-441f-b555-8c00016c96b0 Request ID: b82a1126-4e5f-4714-b16f-b9b8a0f83deb.

Invalid date,NAV ODATA,Fehler,Rubrik,06/02/2019 04:00:01,06/02/2019 04:00:06,Fehler,Error: An internal error occurred... RootActivityId = 983c0371-5655-441f-b555-8c00016c96b0.Param1 = The operation failed due to an explicit cancellation. Exception: System.Threading.Tasks.TaskCanceledException: A task was canceled.

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.PowerBI.DataMovement.Pipeline.Common.TDFHelpers.<>c__DisplayClass9_0`1.<<GetNextResponse>b__0>d.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.PowerBI.DataMovement.Pipeline.Common.TDFHelpers.<>c__DisplayClass13_0.<<ExecuteBlockOperation>b__0>d.MoveNext() Request ID: b82a1126-4e5f-4714-b16f-b9b8a0f83deb. 

 

3 REPLIES 3
Anonymous
Not applicable

HI @Alex_Rajkov,

 

I check your error messages and found they all mentioned Internet issue. Where is your datasource server host? Can you double check to confirm your network state?

 

Regards,

Xiaoxin Sheng

Hi Xiaoxin,

 

thank you. This is helpful.
We are now doublechecking the network state.

The datasource is hosted in an Azure Cloud and we have an VPN tunnel to our on prem domain, where the gateway is.

So the PBI service is connecting to the gateway then via VPN tunnel to the datasource in Azure.

 

KR
Alex

Anonymous
Not applicable

Hi @Alex_Rajkov,

 

I think this issue should more related to the vpn networks mapping, when power bi to refresh operations with unstable vpn connection status , I think these processes will face the networks related issues.

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.