# Mapbox Error Suddenly--even Plotly's own examples broke

**URL:** <https://community.plotly.com/t/mapbox-error-suddenly-even-plotlys-own-examples-broke/12016>\
**Category:** 📊 Plotly Python\
**Created:** [July 23, 2018, 6:28pm UTC](https://community.plotly.com/t/mapbox-error-suddenly-even-plotlys-own-examples-broke/12016 "2018-07-23T18:28:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![vkshiro](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/vkshiro/32/3657_2.png) [@vkshiro](https://community.plotly.com/u/vkshiro)\
**Post date:** [July 23, 2018, 6:28pm UTC](https://community.plotly.com/t/mapbox-error-suddenly-even-plotlys-own-examples-broke/12016/1 "2018-07-23T18:28:22Z")

</div>

I made a map using plotly + mapbox in Python and it has worked for the past three months until very recently. This is the error in the console:  
Error: Your custom plotly.js bundle is not using the correct mapbox-gl version  
Please install mapbox-gl@0.44.1.

Even Plotly’s own examples have the same error and won’t load! [https://plot.ly/python/scattermapbox/](https://plot.ly/python/scattermapbox/)

Does anybody know how I can fix this?

---

<div class="post-metadata">

**Author:** ![michaelbabyn](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/michaelbabyn/32/3569_2.png) [@michaelbabyn](https://community.plotly.com/u/michaelbabyn)\
**Post date:** [July 23, 2018, 7:03pm UTC](https://community.plotly.com/t/mapbox-error-suddenly-even-plotlys-own-examples-broke/12016/2 "2018-07-23T19:03:19Z")

</div>

There isn’t anything that you can do on your end to fix it. The problem seems to be that the correct version of mapbox is not being updated properly by the package manager and we are currently working to resolve the problem.

---

<div class="post-metadata">

**Author:** ![empet](https://avatars.discourse-cdn.com/v4/letter/e/977dab/32.png) [@empet](https://community.plotly.com/u/empet)\
**Post date:** [July 23, 2018, 7:04pm UTC](https://community.plotly.com/t/mapbox-error-suddenly-even-plotlys-own-examples-broke/12016/3 "2018-07-23T19:04:07Z")

</div>

@vkshiro What Plotly version are you using?  
I’ve just run the example above with Plotly 3.0.2 and it worked.

---

<div class="post-metadata">

**Author:** ![vkshiro](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/vkshiro/32/3657_2.png) [@vkshiro](https://community.plotly.com/u/vkshiro)\
**Post date:** [July 23, 2018, 7:16pm UTC](https://community.plotly.com/t/mapbox-error-suddenly-even-plotlys-own-examples-broke/12016/4 "2018-07-23T19:16:50Z")

</div>

michaelbabyn - thanks!

empet - I now have 3.0.1 and it doesn’t change anything…but unless my understanding is wrong, I don’t see how the version I have would affect what is already online.  
So the examples on this page load for you? [https://plot.ly/python/scattermapbox/](https://plot.ly/python/scattermapbox/)

---

<div class="post-metadata">

**Author:** ![Kennfucius](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@Kennfucius](https://community.plotly.com/u/Kennfucius)\
**Post date:** [July 24, 2018, 4:16am UTC](https://community.plotly.com/t/mapbox-error-suddenly-even-plotlys-own-examples-broke/12016/5 "2018-07-24T04:16:20Z")

</div>

I’m experiencing the same issue. If it’s a version issue, when exactly would the version be checked? During plotting? Or is the plotly code ran every time the plot is called from the plotly site to generate the plot? Because I have scattermapbox plots that I created weeks ago on my site and I haven’t touched them since but they are also not working now.

---

<div class="post-metadata">

**Author:** ![vkshiro](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/vkshiro/32/3657_2.png) [@vkshiro](https://community.plotly.com/u/vkshiro)\
**Post date:** [July 24, 2018, 2:38pm UTC](https://community.plotly.com/t/mapbox-error-suddenly-even-plotlys-own-examples-broke/12016/6 "2018-07-24T14:38:08Z")

</div>

So if there isn’t anything we can do to fix it…is there anything we can do to work around it? Asking because I’m making a portfolio website and really wanted to show my map.

---

<div class="post-metadata">

**Author:** ![srb](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@srb](https://community.plotly.com/u/srb)\
**Post date:** [July 24, 2018, 6:11pm UTC](https://community.plotly.com/t/mapbox-error-suddenly-even-plotlys-own-examples-broke/12016/7 "2018-07-24T18:11:33Z")

</div>

I am trying to do the same here and my images arent showing up since a week now. Does anyone know of a solution?

---

<div class="post-metadata">

**Author:** ![michaelbabyn](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/michaelbabyn/32/3569_2.png) [@michaelbabyn](https://community.plotly.com/u/michaelbabyn)\
**Post date:** [July 25, 2018, 2:32pm UTC](https://community.plotly.com/t/mapbox-error-suddenly-even-plotlys-own-examples-broke/12016/8 "2018-07-25T14:32:36Z")

</div>

@vkshiro @Kennfucius @srb. The issue has been fixed and I have been able to view the examples posted.

---

<div class="post-metadata">

**Author:** ![vkshiro](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/vkshiro/32/3657_2.png) [@vkshiro](https://community.plotly.com/u/vkshiro)\
**Post date:** [July 25, 2018, 4:17pm UTC](https://community.plotly.com/t/mapbox-error-suddenly-even-plotlys-own-examples-broke/12016/9 "2018-07-25T16:17:01Z")

</div>

The examples and my own map [https://plot.ly/~VanessaVanG/0](https://plot.ly/~VanessaVanG/0) still have the same mapbox error. But I got this response from Plotly: _Thanks for your recent Plotly bug report regarding mapbox rendering. This issue has been resolved and the fix will be deployed within the next 24 hours._

So I hope it’ll work soon! 🙂
