Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
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
Solved! Go to Solution.
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.:
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.
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.:
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.
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.
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.
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???)
Proud to be a Datanaut!
Private message me for consulting or training needs.
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
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.