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
manoj_0911
Advocate V
Advocate V

Power BI file failing to open

Hi ,

I have a Power BI file that is failing to open both in Desktop (July 2025 release) and in the Service.

Error logs show the following:

TypeError: Cannot read properties of undefined (reading 'report')
at Object.v [as parseThemeObjects]...

From what I checked, the issue seems related to the report theme JSON

manoj_0911_0-1758026700122.png

 


I tried resetting the theme to default in Desktop, but the issue still persists.

👉 Has anyone faced a similar issue ?
👉 Is there a way to remove/reset?

Thanks in advance,
Manoj

1 ACCEPTED SOLUTION
Shubham_rai955
Impactful Individual
Impactful Individual

The error "TypeError: Cannot read properties of undefined (reading 'report')" in your Power BI file likely indicates an issue with the report theme JSON. This can happen if the JSON theme file is corrupted or has invalid properties that Power BI cannot parse correctly.

Based on information available about Power BI themes:

  • The report theme JSON requires at least a "name" property.

  • Other elements like color settings are optional, but if the JSON has invalid or unsupported properties, Power BI may fail to read it.

  • Resetting the theme from the Desktop interface may not fully clear the problematic JSON if it's embedded within the pbix file metadata.

To remove or reset the theme JSON causing the error:

  • One approach is to edit the pbix file externally (it's a ZIP container) and remove the theme JSON file or correct it if you know JSON editing.

  • Alternatively, try importing a simple valid theme JSON with minimal content, e.g.:

     
     
    { "name": "Default Theme" }
  • If editing the pbix externally is not feasible, creating a new report and importing the report pages via XMLA or using Power BI deployment pipelines could be a workaround.

  • Look for any updates or patches for the July 2025 Power BI Desktop release that may address this theme parsing issue.

There is no direct "reset theme JSON" button in Power BI Desktop; the theme reset in UI affects only theme applied from the UI, not embedded JSON metadata.

If you encounter similar cases, community members have suggested manually repairing JSON or rebuilding the report when the theme causes load failures.

These suggestions are consistent with the error nature and Power BI theme JSON behavior documented for recent versions.

View solution in original post

7 REPLIES 7
Shubham_rai955
Impactful Individual
Impactful Individual

The error "TypeError: Cannot read properties of undefined (reading 'report')" in your Power BI file likely indicates an issue with the report theme JSON. This can happen if the JSON theme file is corrupted or has invalid properties that Power BI cannot parse correctly.

Based on information available about Power BI themes:

  • The report theme JSON requires at least a "name" property.

  • Other elements like color settings are optional, but if the JSON has invalid or unsupported properties, Power BI may fail to read it.

  • Resetting the theme from the Desktop interface may not fully clear the problematic JSON if it's embedded within the pbix file metadata.

To remove or reset the theme JSON causing the error:

  • One approach is to edit the pbix file externally (it's a ZIP container) and remove the theme JSON file or correct it if you know JSON editing.

  • Alternatively, try importing a simple valid theme JSON with minimal content, e.g.:

     
     
    { "name": "Default Theme" }
  • If editing the pbix externally is not feasible, creating a new report and importing the report pages via XMLA or using Power BI deployment pipelines could be a workaround.

  • Look for any updates or patches for the July 2025 Power BI Desktop release that may address this theme parsing issue.

There is no direct "reset theme JSON" button in Power BI Desktop; the theme reset in UI affects only theme applied from the UI, not embedded JSON metadata.

If you encounter similar cases, community members have suggested manually repairing JSON or rebuilding the report when the theme causes load failures.

These suggestions are consistent with the error nature and Power BI theme JSON behavior documented for recent versions.

v-priyankata
Community Support
Community Support

Hi @manoj_0911 

Thank you for reaching out to the Microsoft Fabric Forum Community.

@FBergamaschi @collinq Thanks for the inputs.

The suggestions provided by the user are helpful. In addition to their points, please consider the following basic suggestions.

  1.  If possible, can you please try opening the file in an earlier version of Power BI Desktop. Sometimes, newer releases might introduce changes that aren't backward compatible.
  2. Go to file>options>data load>clear cache

vpriyankata_1-1758694825901.jpeg

 

 

 

 

If I misunderstand your needs or you still have problems on it, please feel free to let us know.  

Thanks.

Hi @manoj_0911 

Thank you for reaching out to the Microsoft Fabric Forum Community.

 

I hope the information provided was helpful. If you still have questions, please don't hesitate to reach out to the community.

 

Hi @manoj_0911 

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.

 

Hi @manoj_0911 

Hope everything’s going smoothly on your end. I wanted to check if the issue got sorted. if you have any other issues please reach community.

 

collinq
Super User
Super User

Hi @manoj_0911 ,

Are you using Json?  This is an error that sometimes points to a json that is improperly formatted (like perhaps the theme???)  




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




FBergamaschi
Solution Sage
Solution Sage

I would suggest to open a ticket to Microsoft from the Power Platform admin page

 

https://admin.powerplatform.microsoft.com/

 

If this helped, please consider giving kudos and mark as a solution

@me in replies or I'll lose your thread

Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page

Consider voting this Power BI idea

Francesco Bergamaschi

MBA, M.Eng, M.Econ, Professor of BI

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 Solution Authors