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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Failed Refresh - The services encountered an error while creating a schema for the query [VSTS]

Hello,  

 

As of sometime last night, all of my dashboards connecting to the two VSTS instances that I report from have stopped being able to refresh due to the following error.  

RefreshFail.PNG

 

DataFail.PNG

 

 

 

I currently have three different dashboards attached to these VSTS instances and they were able to refresh as of 4PM yesterday; I got the first failure notification around 10 PM last night.  I still have access to the VSTS instances and am not experiencing any credential issues.  

 

Any help would be greatly appreciated.  

Status: New
Comments
Rotrox404
Frequent Visitor

When attempting to create a new data connection to either VSTS instance, I get the following: 

 

Error: The service encountered an error while creating a schema for the query.
Details:
DataSourceKind=Visual Studio Team Services
ActivityId=dc391833-9e69-46bd-b04c-c64634034324
Url=https://officepmg.analytics.visualstudio.com/Web%20Development/_apis/analytics/views/4e8561b7-bd40-4...
typeName=Microsoft.VisualStudio.Services.Analytics.WebApi.AnalyticsViewSchemaGenerationFailedException, Microsoft.VisualStudio.Services.Analytics.WebApi
typeKey=AnalyticsViewSchemaGenerationFailedException
errorCode=0
eventId=3000

v-qiuyu-msft
Community Support

Hi @Rotrox404,

 

Please refresh the same report in Power BI desktop to see if any error occur to table "WD_Bugs - Last 30 days"

 

It seems you are getting data from VSTS in Power BI desktop via VSTS data source, please ensure all step you done are correct based on this article. Also please try use OData data source to get data to see if any error occurs: https://docs.microsoft.com/en-us/vsts/report/powerbi/access-analytics-power-bi?view=vsts

 

Best Regards,
Qiuyun Yu 

v-qiuyu-msft
Community Support

Hi @Rotrox404,

 

Please try refresh again. The issue should be gone now. 

 

Best Regards,
Qiuyun Yu