Showing results for 
Search instead for 
Did you mean: 
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:




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.

Community Support
Community Support

Hi @AE_JHI ,


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


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,

Helpful resources

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Urdu Hindi D365 Bootcamp 768x460.png

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.