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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MPereira_97
Regular Visitor

Power BI Schedule Refresh

Hey Everyone, 

 

Recently we have been getting a lot of schedule refresh failures from last week, our Main Dataset is failing to schedule refresh and throwing 2-3 types of different random errors. We have downloaded the dataset and Refreshed it in the local pbix file it's working fine with the credentials but when it is in service it fails to update 80% of the time.

 

For eg - If we consider one Dataset 

it will run in the morning but after some time in the evenings, it will fail to refresh 3-4 times in a row, and again after some time it will start running. 

Scheduled31/10/2023, 7:02:22 am31/10/2023, 7:55:58 amCompleted
Scheduled31/10/2023, 9:02:05 am31/10/2023, 9:54:41 amFailed
Scheduled31/10/2023, 10:31:23 am31/10/2023, 12:13:33 pmFailed
Scheduled31/10/2023, 12:30:43 pm31/10/2023, 2:31:55 pmFailed
Scheduled31/10/2023, 12:31:00 pm31/10/2023, 3:06:08 pmCompleted

 

Mainly it's an "Access token has expired, resubmit with a new access token", "runtime" or "server error". 

Errors as below: -

{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"Access token has expired, resubmit with a new access token"}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.ValueError.Error","detail":{"type":1,"value":"error \"Microsoft.Mashup.Engine1.Runtime.ValueException: [Expression.Error] The field 'pbi.error' of the record wasn't found.#(cr)#(lf) at Microsoft.Mashup.Engine1.Language.ValueCreator.CreateValueForThrow(IThrowExpression throwExpr)#(cr)#(lf) at Microsoft.Mashup.Engine1.Language.ValueCreator.<>c__DisplayClass23_0.<CreateValueForRecord>b__0(Int32 index)#(cr)#(lf) at Microsoft.Mashup.Engine1.Runtime.RecordValue.DemandRecordValue.get_Item(Int32 index)#(cr)#(lf) at Microsoft.Data.Mashup.ProviderCommon.MashupResource.TryGetValue(Func`1 getValue, IValue& value, String& errorMessage)#(cr)#(lf)Record\""}},{"code":"Microsoft.Data.Mashup.ValueError.Reason","detail":{"type":1,"value":"TokenExpired"}},{"code":"Microsoft.Data.Mashup.ValueError.RequestId","detail":{"type":1,"value":"2331c3a1-360b-466f-becb-6d31b10f91b1"}}

 

Steps Taken :- 

 

We have checked our Gateway and updated it to the latest October version (3000.194.16) made sure all the connections are connected online and also re-entered the credentials and saved. Furthermore, we also created new connections but its still showing us the same errors. 

 

Can someone please help in resolving this issue??

 

Thanks,

Mark P. 

 

1 REPLY 1
Anonymous
Not applicable

Hi @MPereira_97 ,

 

During my investigation I have found users in the past who have had similar experiences to you .
The solution given by other forum users was:May not need to be refreshed through the gateway.

 

For original post, you may refer to:Solved: Re: dataflow invalid token - Microsoft Fabric Community

https://community.fabric.microsoft.com/t5/Issues/Dataflow-Error-Access-token-has-expired-resubmit-wi...

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.