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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Theme saved in Power BI can't be imported back due to validation

Hi,

 

Power BI desktop is updated today and our custom themes are not working anymore. Even when we tried to save the custom from Power BI, it can't be imported back:

 

kelseyp_0-1676502671338.png

 

This is the error:

 

 

#/visualStyles/barChart/*/legend/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/barChart/*/categoryAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/barChart/*/categoryAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/barChart/*/valueAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/barChart/*/valueAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/barChart/*/labels/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/columnChart/*/legend/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/columnChart/*/categoryAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/columnChart/*/categoryAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/columnChart/*/valueAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/columnChart/*/valueAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/columnChart/*/labels/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/clusteredBarChart/*/legend/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/clusteredBarChart/*/categoryAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/clusteredBarChart/*/categoryAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/clusteredBarChart/*/valueAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/clusteredBarChart/*/valueAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/clusteredBarChart/*/labels/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/clusteredColumnChart/*/legend/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/clusteredColumnChart/*/categoryAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/clusteredColumnChart/*/categoryAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/clusteredColumnChart/*/valueAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/clusteredColumnChart/*/valueAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/clusteredColumnChart/*/labels/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/hundredPercentStackedBarChart/*/legend/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/hundredPercentStackedBarChart/*/categoryAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/hundredPercentStackedBarChart/*/categoryAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/hundredPercentStackedBarChart/*/valueAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/hundredPercentStackedBarChart/*/valueAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/hundredPercentStackedBarChart/*/labels/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/hundredPercentStackedColumnChart/*/legend/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/hundredPercentStackedColumnChart/*/categoryAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/hundredPercentStackedColumnChart/*/categoryAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/hundredPercentStackedColumnChart/*/valueAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/hundredPercentStackedColumnChart/*/valueAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/hundredPercentStackedColumnChart/*/labels/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineChart/*/legend/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineChart/*/categoryAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineChart/*/categoryAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineChart/*/valueAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineChart/*/valueAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineChart/*/labels/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/areaChart/*/legend/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/areaChart/*/categoryAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/areaChart/*/categoryAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/areaChart/*/valueAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/areaChart/*/valueAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/areaChart/*/labels/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/stackedAreaChart/*/legend/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/stackedAreaChart/*/categoryAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/stackedAreaChart/*/categoryAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/stackedAreaChart/*/valueAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/stackedAreaChart/*/valueAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/stackedAreaChart/*/labels/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineStackedColumnComboChart/*/legend/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineStackedColumnComboChart/*/categoryAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineStackedColumnComboChart/*/categoryAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineStackedColumnComboChart/*/valueAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineStackedColumnComboChart/*/valueAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineStackedColumnComboChart/*/valueAxis/0/secFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineStackedColumnComboChart/*/valueAxis/0/secTitleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineStackedColumnComboChart/*/labels/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineClusteredColumnComboChart/*/legend/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineClusteredColumnComboChart/*/categoryAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineClusteredColumnComboChart/*/categoryAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineClusteredColumnComboChart/*/valueAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineClusteredColumnComboChart/*/valueAxis/0/titleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineClusteredColumnComboChart/*/valueAxis/0/secFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineClusteredColumnComboChart/*/valueAxis/0/secTitleFontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineClusteredColumnComboChart/*/labels/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/kpi/*/title/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/icons must be array (type; matching schema #/properties/icons/type)

 

 

Could this please be looked at. Thank you.

Status: Accepted

Hi all,

 

We have reported this issue and submitted it to the product team.
They have been aware of the issue and the engineers will do their best to resolve it. I will update here if there is any progress, so please be patient. 

 

Best regards.
Community Support Team_ Caitlyn

 

Comments
odiallo
Regular Visitor

@KaroCka  Thank you. I will try that and see if I can get mine resolved. Thank you again

Anonymous
Not applicable

@KaroCka thank you for providing this information. In my case it's not such a big help because I need the naming of the icons. I use the names as conditional formating on field value.

KaroCka
Regular Visitor

@Anonymous ,

 

I've checked, and it actually works with the description:

 

"icons": [
{ "description": "01 Arrow Green Up",
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQIAAAECCAMAAAAikSliAAAAulBMVEUAAABqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyJqpyI1t+V3AAAAPXRSTlMAFHC3z+Pbv480EJf7yzg8gyjzfBznZAifGGzHBESbIOsMo3STYNP3q0gk70xc1zCz34C7i1Qsh0B4p1Cv6IgBWwAAA/5JREFUeNrt3Ola2kAYhmEsoAKhxQAuiAsgiwKKqEiX7/xPq38ae9WKLMkk88087xlw/3hI4JrJ5ViW2/uSLxT3Dw5LvgKUK4H8WfWrlwLfivJ3Qc1DgaNQ/lndO4FGU97t2DOBk+p7AQk868Gp/L/mmU8CLflo521/BC6CDwnk0huBq2tZMV+S2CmsEvAmiV1ZvaIXSezJZzvwIImrUhjtxuMURuu7nsLBOgEZOv7qPJL1czuJddlkLifxNtiIwOEk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FE7Ez26TeFO4XC3iFC43Uylw5/VW+lShwH3q9XHChr4kDh48P1LRl8S++J62JIZ4+jqLN4Uqk+g5hQqTWDkO9JRZTRKTi2BP2rUkcR7w2wZfVQgsgn7hoqpAoJqGJJDjSrwp/HjcnMSbwuXmgQm+KfgC1iKowEzFd9BCJnGaaiAImcSbDdGxYElMbkXLQiWxJnq2iDeFQZO4m2oiCJHE4ZbomvckJvpOq7Q8E5yIvt15FbhUKCDpvc8UHmkkkIdBvClcrh9xCn0n8VH0zk8SR4oF/CTxVPepPQ9JHI5F95wnMXkS7WtFnEI/SRwZEHCbxGcbB5gn7pK4PxYbc3aOa6cuVtZ1RLBpRkAOe04EXsTQmtfxptBhEs2k0FkSB3WxtqKT2DEnUHQSX8XgCk3im83X2hSYxL13sbnCkuj86KH+JHbMCsjhWyEC52J473sFCPRsv+HrKn8SPR09dLdO7hROxPpecxKcmRfIm8SulGC5kmg8hQUk0XwKcyfR+9FDfUnsl0Zg3SS2pERbK4l3UqqtkcT7tFwEn09iiVK43Eu8KfxI4vOnBOZSwo0/83b0hZRy9dVfGVlNy0mw+rsCgx89DJ5EBUcPQydxLiXeSklcSKm3QhJLm8KVk6jm6GGwJCo6ehgqiTWJYP9M4kyi2NPfD7NN0zgI5DHiFC43ijeFH0k8NXP00F0Sh1aOHnpNotKjhx6TqPboobvNS3+39P/r/vm3sP9dYtzTx2u1k3ZTIl19+/l6f9r78S4s5H4CSHWgjmPBlJoAAAAASUVORK5CYII="
}]

Anonymous
Not applicable

@KaroCka 

Thank you for this! This helps now to differentiate the icons because in the preview the icon loading is broken (see attached screenshot).
But as long as the icons are not named, I can't use my measures for conditional formatting on field value. I need the <name> statement which worked before actual PBI version. Otherwise I have to rewrite the measures in all reports...

Alma7_0-1677679963340.png

 

KaroCka
Regular Visitor

@Anonymous

 

that's interesting, I don't have any issue with the preview:

KaroCka_0-1677682325933.png

 

Not sure how can I help with the <name> statement as I don't use it on my reports.

 

Do you connect your reports to pbi dataset? this way you would have to update measure in the dataset and it'll populate in the reports.

Anonymous
Not applicable

I found the issue for the preview pictures. It's only for SVG. Using PNG works.

The reports connect to different datasets, containing this measure... so I have to adjust every dataset I am using the symbols name if I don't find a solution for implementing <name> in theme JSON...

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

Hi all,

 

We have reported this issue and submitted it to the product team.
They have been aware of the issue and the engineers will do their best to resolve it. I will update here if there is any progress, so please be patient. 

 

Best regards.
Community Support Team_ Caitlyn

 

ghita_elouadrhi
Frequent Visitor

Hello, 

I managed to fix the error related to the icons

#/icons must be array (type; matching schema #/properties/icons/type)

However when I import the theme, I am not able to see the icons in the report.  Is anyone facing the same issue?

 

RHOU
Advocate II

I have the same issue. Exported a theme from an existing PowerBI file that works without issues and am unable to import it again. I get 50 error messages: 

#/visualStyles/barChart/*/title/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/barChart/*/categoryAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/barChart/*/categoryAxis/0/labelDisplayUnits must be integer (type; matching schema #/definitions/labelDisplayUnits/type)
#/visualStyles/barChart/*/categoryAxis/0/labelDisplayUnits must be equal to one of the allowed values (enum: '0' ,'1' ,'1000' ,'1000000' ,'1000000000' ,'1000000000000'; matching schema #/definitions/labelDisplayUnits/enum)
#/visualStyles/barChart/*/categoryAxis/0/labelPrecision must be integer (type; matching schema #/properties/visualStyles/properties/barChart/properties/*/allOf/1/properties/categoryAxis/items/properties/labelPrecision/type)
#/visualStyles/barChart/*/valueAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/barChart/*/valueAxis/0/labelDisplayUnits must be integer (type; matching schema #/definitions/labelDisplayUnits/type)
#/visualStyles/barChart/*/valueAxis/0/labelDisplayUnits must be equal to one of the allowed values (enum: '0' ,'1' ,'1000' ,'1000000' ,'1000000000' ,'1000000000000'; matching schema #/definitions/labelDisplayUnits/enum)
#/visualStyles/barChart/*/valueAxis/0/labelPrecision must be integer (type; matching schema #/properties/visualStyles/properties/barChart/properties/*/allOf/1/properties/valueAxis/items/properties/labelPrecision/type)
#/visualStyles/barChart/*/labels/0/labelDisplayUnits must be integer (type; matching schema #/definitions/labelDisplayUnits/type)
#/visualStyles/barChart/*/labels/0/labelDisplayUnits must be equal to one of the allowed values (enum: '0' ,'1' ,'1000' ,'1000000' ,'1000000000' ,'1000000000000'; matching schema #/definitions/labelDisplayUnits/enum)
#/visualStyles/barChart/*/labels/0/labelPrecision must be integer (type; matching schema #/properties/visualStyles/properties/barChart/properties/*/allOf/1/properties/labels/items/properties/labelPrecision/type)
#/visualStyles/barChart/*/labels/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/clusteredBarChart/*/title/0/alignment must be equal to one of the allowed values (enum: 'left' ,'center' ,'right'; matching schema #/definitions/alignment/enum)
#/visualStyles/clusteredBarChart/*/title/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/clusteredBarChart/*/legend/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/clusteredBarChart/*/categoryAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/clusteredBarChart/*/categoryAxis/0/labelDisplayUnits must be integer (type; matching schema #/definitions/labelDisplayUnits/type)
#/visualStyles/clusteredBarChart/*/categoryAxis/0/labelDisplayUnits must be equal to one of the allowed values (enum: '0' ,'1' ,'1000' ,'1000000' ,'1000000000' ,'1000000000000'; matching schema #/definitions/labelDisplayUnits/enum)
#/visualStyles/clusteredBarChart/*/categoryAxis/0/labelPrecision must be integer (type; matching schema #/properties/visualStyles/properties/clusteredBarChart/properties/*/allOf/1/properties/categoryAxis/items/properties/labelPrecision/type)
#/visualStyles/clusteredBarChart/*/valueAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/clusteredBarChart/*/labels/0/labelDisplayUnits must be integer (type; matching schema #/definitions/labelDisplayUnits/type)
#/visualStyles/clusteredBarChart/*/labels/0/labelDisplayUnits must be equal to one of the allowed values (enum: '0' ,'1' ,'1000' ,'1000000' ,'1000000000' ,'1000000000000'; matching schema #/definitions/labelDisplayUnits/enum)
#/visualStyles/clusteredBarChart/*/labels/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/clusteredColumnChart/*/labels/0/labelDisplayUnits must be integer (type; matching schema #/definitions/labelDisplayUnits/type)
#/visualStyles/clusteredColumnChart/*/labels/0/labelDisplayUnits must be equal to one of the allowed values (enum: '0' ,'1' ,'1000' ,'1000000' ,'1000000000' ,'1000000000000'; matching schema #/definitions/labelDisplayUnits/enum)
#/visualStyles/clusteredColumnChart/*/labels/0/labelPrecision must be integer (type; matching schema #/properties/visualStyles/properties/clusteredColumnChart/properties/*/allOf/1/properties/labels/items/properties/labelPrecision/type)
#/visualStyles/lineChart/*/legend/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineChart/*/categoryAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineChart/*/valueAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/lineChart/*/labels/0/labelDisplayUnits must be integer (type; matching schema #/definitions/labelDisplayUnits/type)
#/visualStyles/lineChart/*/labels/0/labelDisplayUnits must be equal to one of the allowed values (enum: '0' ,'1' ,'1000' ,'1000000' ,'1000000000' ,'1000000000000'; matching schema #/definitions/labelDisplayUnits/enum)
#/visualStyles/lineChart/*/labels/0/labelPrecision must be integer (type; matching schema #/properties/visualStyles/properties/lineChart/properties/*/allOf/1/properties/labels/items/properties/labelPrecision/type)
#/visualStyles/lineChart/*/labels/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/waterfallChart/*/legend/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/waterfallChart/*/categoryAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/waterfallChart/*/valueAxis/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/waterfallChart/*/labels/0/labelDisplayUnits must be integer (type; matching schema #/definitions/labelDisplayUnits/type)
#/visualStyles/waterfallChart/*/labels/0/labelDisplayUnits must be equal to one of the allowed values (enum: '0' ,'1' ,'1000' ,'1000000' ,'1000000000' ,'1000000000000'; matching schema #/definitions/labelDisplayUnits/enum)
#/visualStyles/waterfallChart/*/labels/0/labelPrecision must be integer (type; matching schema #/properties/visualStyles/properties/waterfallChart/properties/*/allOf/1/properties/labels/items/properties/labelPrecision/type)
#/visualStyles/waterfallChart/*/labels/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/gauge/*/labels/0/labelDisplayUnits must be integer (type; matching schema #/definitions/labelDisplayUnits/type)
#/visualStyles/gauge/*/labels/0/labelDisplayUnits must be equal to one of the allowed values (enum: '0' ,'1' ,'1000' ,'1000000' ,'1000000000' ,'1000000000000'; matching schema #/definitions/labelDisplayUnits/enum)
#/visualStyles/gauge/*/labels/0/labelPrecision must be integer (type; matching schema #/properties/visualStyles/properties/gauge/properties/*/allOf/1/properties/labels/items/properties/labelPrecision/type)
#/visualStyles/gauge/*/labels/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/card/*/labels/0/labelDisplayUnits must be integer (type; matching schema #/definitions/labelDisplayUnits/type)
#/visualStyles/card/*/labels/0/labelDisplayUnits must be equal to one of the allowed values (enum: '0' ,'1' ,'1000' ,'1000000' ,'1000000000' ,'1000000000000'; matching schema #/definitions/labelDisplayUnits/enum)
#/visualStyles/card/*/labels/0/fontSize must be number (type; matching schema #/definitions/fontSize/type)
#/visualStyles/slicer/*/title/0/background must be object (type; matching schema #/oneOf/0/type)
#/visualStyles/slicer/*/title/0/background must be object (type; matching schema #/oneOf/1/type)
#/visualStyles/slicer/*/title/0/background must be object (type; matching schema #/oneOf/2/type)
#/visualStyles/slicer/*/title/0/background must match exactly one schema in oneOf (oneOf; matching schema #/oneOf)
Anonymous
Not applicable

I could work around this error editing the json file.

You can replace de value from the position fields with as string. 

"Left" ou "Right", and the theme can be imported with no major problems.

Try using a json formatter to make this easier. 

Best regards