Forum Discussion
Custom Shape Maps Unexpected Error
- 9 years ago
Ok, I think I might know the potential cause of your issue. When you pulled the file off of GitHub, my guess is that you did not save the actual json file. Instead, you probably right-clicked in the ReadMe and did a Save As on the link to the blob. Is that correct?
GitHub shows a preview of TopoJson, GeoJson, etc. blobs on their own page. Unless you download the entire repo, you need to click through the link and save the Raw json instead of the blob preview.
deldersveld It happens with any data set. It even hapens if I type in a random list of countries through Enter Data. Here:
| Country | Amount |
| Australia | 87 |
| Brazil | 12 |
| Canada | 3574 |
| China | 564 |
| France | 254 |
| India | 235 |
| Italy | 5254 |
| Japan | 84 |
| Mexico | 4347 |
| Russia | 89 |
| United States | 135 |
Not sure where your issue lies, but I did not run into an issue with my world-countries.json file. Here's a link to the PBIX as well, so check to see if you can open it: https://www.dropbox.com/s/2eii01rb17ixwhy/WorldCountries.pbix?dl=0