question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Map data across globe codepen example not working, error 404

See original GitHub issue

Until about a week ago it was working, then maybe Mike Bostok moved something. Basically the GET request for world-50m.json returns 404 cause the file is not here…

req URL: https://raw.githubusercontent.com/mbostock/topojson/master/examples/world-50m.json

Map data across globe: https://www.freecodecamp.com/challenges/map-data-across-the-globe

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
mbostockcommented, Nov 4, 2016

You linked to master, but you could link to a specific release to make sure that the contents do not change:

https://raw.githubusercontent.com/mbostock/topojson/v1.6.27/examples/world-50m.json

But even better would be to use the source of this file, which is the world-atlas repository:

https://github.com/topojson/world-atlas

I am now hosting the file on https://d3js.org/world-50m.v1.json. You can also use unpkg.com/world-atlas@1/world/50m.json. Both of these links are versionsed and backed by a CDN, which should be much faster and more stable than linking to master.

1reaction
raisedadeadcommented, Nov 22, 2016

Fixed. Updated the API with https://d3js.org/world-50m.v1.json

Thanks everyone for the help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Map data across globe codepen example not working, error 404
We are using the JSON as dependency on the sample codepen. We could host it statically if you permit. Any alternate suggestions are...
Read more >
Map data across the globe - CodePen
Insecure Resource. The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https....
Read more >
javascript - Codepen modernizr.js - 404 Error - Stack Overflow
I'm using Codepen modernizr.js over 1 years. Suddenly it started showing error 404. That means the file does not exist but I don't...
Read more >
404 Page SVG Animations That Maximize Visitor Retention
Here's an “out of this world” isometric 404 animation that sheds light on who's responsible for the error page you're seeing. Not surprisingly, ......
Read more >
Untitled
Loyal parody sir rex lyrics, Scc1300-d04 data sheet, Teoretyczne napedy kosmiczne, ... Od404 nine bar, Arifs family crime, Exact hitting set problem, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found