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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
powerbidev123
Responsive Resident
Responsive Resident

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

1 ACCEPTED SOLUTION
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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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