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
powerbidev123
Solution Sage
Solution Sage

Refresh error

Hi Community,

 

I have received an error that says:

 

Failure details: The last refresh attempt failed because of an internal service error. This is usually a transient issue. If you try again later and still see this message, contact support.

{"error":{"code":"DMTS_OAuthTokenRefreshFailedError","pbi.error":{"code":"DMTS_OAuthTokenRefreshFailedError","details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"An error occurred while sending the request."}}],"exceptionCulprit":1}}} Table: Query1.

 

What is the reason behind this

2 ACCEPTED SOLUTIONS
Poojara_D12
Super User
Super User

Hi @powerbidev123 

The error "DMTS_OAuthTokenRefreshFailedError" occurs when Power BI fails to refresh the OAuth token needed for authentication, preventing the connection to the data source. The specific message "An error occurred while sending the request" suggests a network issue, an expired authentication token, or a temporary service disruption. This can happen due to internet connectivity problems, firewall restrictions, or if the data source (such as OneDrive, SharePoint, or Business Central) is temporarily unavailable. Another common cause is an expired or invalid token, often triggered by password changes, multi-factor authentication (MFA) updates, or permission changes in Azure Active Directory. To resolve this, try refreshing the dataset again after some time, as it could be a transient issue. If the error persists, check the Power BI Service status, ensure your internet connection is stable, and re-authenticate the affected data source by updating credentials in Power BI Service → Settings → Manage Connections and Gateways. If the issue continues, refreshing the dataset in Power BI Desktop can help diagnose whether the problem is specific to the cloud service. If none of these steps work, contacting Microsoft Support with the error details may be necessary.

 

 

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos"

Kind Regards,
Poojara - Proud to be a Super User
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS

View solution in original post

2 REPLIES 2
Poojara_D12
Super User
Super User

Hi @powerbidev123 

The error "DMTS_OAuthTokenRefreshFailedError" occurs when Power BI fails to refresh the OAuth token needed for authentication, preventing the connection to the data source. The specific message "An error occurred while sending the request" suggests a network issue, an expired authentication token, or a temporary service disruption. This can happen due to internet connectivity problems, firewall restrictions, or if the data source (such as OneDrive, SharePoint, or Business Central) is temporarily unavailable. Another common cause is an expired or invalid token, often triggered by password changes, multi-factor authentication (MFA) updates, or permission changes in Azure Active Directory. To resolve this, try refreshing the dataset again after some time, as it could be a transient issue. If the error persists, check the Power BI Service status, ensure your internet connection is stable, and re-authenticate the affected data source by updating credentials in Power BI Service → Settings → Manage Connections and Gateways. If the issue continues, refreshing the dataset in Power BI Desktop can help diagnose whether the problem is specific to the cloud service. If none of these steps work, contacting Microsoft Support with the error details may be necessary.

 

 

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos"

Kind Regards,
Poojara - Proud to be a Super User
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS

Thanks @Poojara_D12 

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.