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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
joemensor
Helper I
Helper I

New Choropleth visual

This is a strange one. I am trying to use the new Choropleth visual and reference my own topoJSON files, however when I point the visual to urls which host my .json files, the requests fail and I see the invalid JSON file message. I have even hosted the json files from the sample.pbix and these are not served correctly either.

 

The sample files are hosted here:

 

https://uat.gramener.com/static/c3/US_adm1.json

https://uat.gramener.com/static/c3/US_adm2.json

 

What is significant about these URLs? I am hosting my files on an HTTPS server and when I browse to the files, everything is fine. I have also attempted to re-issue the requests through fiddler and it works, whats going on?

 

3 REPLIES 3
Eric_Zhang
Microsoft Employee
Microsoft Employee


@joemensor wrote:

This is a strange one. I am trying to use the new Choropleth visual and reference my own topoJSON files, however when I point the visual to urls which host my .json files, the requests fail and I see the invalid JSON file message. I have even hosted the json files from the sample.pbix and these are not served correctly either.

 

The sample files are hosted here:

 

https://uat.gramener.com/static/c3/US_adm1.json

https://uat.gramener.com/static/c3/US_adm2.json

 

What is significant about these URLs? I am hosting my files on an HTTPS server and when I browse to the files, everything is fine. I have also attempted to re-issue the requests through fiddler and it works, whats going on?

 


@joemensor

Do you refer to Filled Map visual? Thanks for sharing the JSON links, however they both lead to 404 blank pages.

Hi Eric,

It turns out that this was a CORS issue. I managed to make these accessible by making them available in an Azure storage account that had the relevant CORS configuration.

Joe,

 

I believe I'm having a similar CORS issue, but do not have access to an Azure storage account or the ability to configure the CORS of the webserver. Am I out of luck when it comes do using this visual?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.