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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
AE_JHI
New Member

Programmatically Determine Visualisation Errors Via API (Not UI)

Hi Power BI Community,


Background: I have been tasked with coming up with an automated smoke test to ensure that all Visuals function without failure, post updates to a centralised data source / model.


Scenario: A field has been renamed and the model re-loaded, which causes a generic error to be presented on the report UI: "X Can't display the visual. See details... Couldn't load the data for this visual"


Objective: Without running some sort of UI automation (e.g. Selenium), is there a way for this error to be captured via the Rest API or some other method?

 

I have tried hitting a number of the API endpoints to see if some sort of failure occurs, but no luck so far - these being:

 

.../datasets/.../datasources
.../reports/.../pages/ReportSection

 

From the Rest API documentation I don’t see any way of interacting with the actual Visuals for a given report and page.

 

Any guidance here would be greatly appreciated.

1 REPLY 1
v-kkf-msft
Community Support
Community Support

Hi @AE_JHI ,

 

Unfortunately, the current version cannot realize this idea. Please submit your idea.
Ideas (powerbi.com)

 

As you can see in Power BI REST APIs , I think you can only export the data from the visuals, not the error message of the visuals.

 

 

Best Regards,
Winniz

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Kudoed Authors