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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

0

Workspace version control does not sync branch that has a report.json with custom visuals

This error appeared this week in one of our workspaces when syncing a branch from the repository into the workspace.

 

Workload Error Code Workload_FailedToParseFile
Workload Error Message In 'report.json' and resource package 'RadarChart1446119667547' item at position '0' is missing 'name' property.

 

This issue did not appear before as I was able to sync my branch without issues. I looked up where this RadarChart was referenced in report.json. I also saw that RadarChart is a custom visual imported from the marketplace. However, as noted, I did not have issues syncing with the custom visual in the report.

 

This is the section in report.json where those packages are referenced

 

"resourcePackages": [
{
"resourcePackage": {
"disabled": false,
"items": [
{
"name": "CY18SU07",
"path": "BaseThemes/CY18SU07.json",
"type": 202
}
],
"name": "SharedResources",
"type": 2
}
},
{
"resourcePackage": {
"disabled": false,
"items": [
{
"path": "BulletChart1443347686880.pbiviz.json",
"type": 5
}
],
"name": "BulletChart1443347686880",
"type": 0
}
},
{
"resourcePackage": {
"disabled": false,
"items": [
{
"path": "ChordChart1444757060245.pbiviz.json",
"type": 5
}
],
"name": "ChordChart1444757060245",
"type": 0
}
},
{
"resourcePackage": {
"disabled": false,
"items": [
{
"path": "heatStreams74779FE5319F4655BE62C4C5FD0ABFB1.pbiviz.json",
"type": 5
}
],
"name": "heatStreams74779FE5319F4655BE62C4C5FD0ABFB1",
"type": 0
}
},
{
"resourcePackage": {
"disabled": false,
"items": [
{
"path": "RadarChart1446119667547.pbiviz.json",
"type": 5
}
],
"name": "RadarChart1446119667547",
"type": 0
}
}
],

 

The only way to make the branch sync down to the workspace is by removing the custom visuals from the report. Then I think this is a bug introduced in the Power BI service where the workspace is not able to parse a report.json file that contains custom visuals.

Status: Delivered

Hi @tomordonezmiron ,

 

Thank you for sharing, for other users with similar experiences you can check the comments below. This thread will now be closed.

 

Best regards.
Community Support Team_ Caitlyn

 

Comments
v-xiaoyan-msft
Community Support
Status changed to: Investigating

Hi  @tomordonezmiron ,

 

Try removing the RadarChart custom visual from your report and check the marketplace for any updates before you re-importing it from the marketplace. 
Manually check the report.json file for any missing or incorrect properties and ensure that all required properties, such as 'name', are correctly defined.

Does this problem occur only for reports in this workspace? You may create a new workspace and try syncing your branch there. This can help determine if the issue is specific to your current workspace.

 

Best regards.
Community Support Team_Caitlyn

tomordonezmiron
New Member

Thanks, I checked the versions and my report had the same as those in the marketplace. Then I removed the visuals and added them back and noticed that report.json changed the syntax from the long code I showed before to just these lines

 

"publicCustomVisuals": [
"BulletChart1443347686880",
"ChordChart1444757060245",
"RadarChart1446119667547"
],

 

After syncing with these new lines in report.json, the sync worked.

v-xiaoyan-msft
Community Support
Status changed to: Delivered

Hi @tomordonezmiron ,

 

Thank you for sharing, for other users with similar experiences you can check the comments below. This thread will now be closed.

 

Best regards.
Community Support Team_ Caitlyn