Invalid or nonexistent map configuration token

385 views
Skip to first unread message

Jake Sales

unread,
Aug 30, 2018, 3:59:28 AM8/30/18
to cartodb
Hello,

(cartodb enquiry)

When I publish my maps I get a link which I can use to share them. Using this link the maps seem to work for a while (a few hours) before the widgets stop working and the map shows an error 'Some tiles might not be rendering correctly." in an orange triangle near to the zoom controls.

The widgets all stop working and display a this message alongside a code:

Invalid or nonexistent map configuration token '052280dd79089d917d9c275704301d84'

The code changes depending on the map of course.

I'd like to be able to share the maps without this happening a few hours later!

Does anyone know how to keep the maps I publish working?

Thanks in advance

Nacho Sanchez

unread,
Aug 30, 2018, 5:28:56 AM8/30/18
to cartodb
Is it your own installation, or cartodb.com?

Nacho Sanchez

unread,
Aug 30, 2018, 5:29:12 AM8/30/18
to cartodb
(carto.com, I mean)

Jake Sales

unread,
Aug 30, 2018, 2:32:27 PM8/30/18
to cartodb
Hello, my own installation (via a docker)

Oskar Dolch

unread,
May 6, 2019, 8:24:16 AM5/6/19
to cartodb
Hello,

I am experiencing exactly the same problem with my own installation of Carto. I found out that clearing the browser cache solves the issue, but after a while it is there again. Any hint would be really appreciated.

Oskar

Andres Avila

unread,
Oct 24, 2019, 2:31:56 PM10/24/19
to cartodb
Hi Oskar did you find what was causing this?.. i have the same problem

Gonzalo Riestra Menéndez

unread,
Oct 28, 2019, 3:16:21 AM10/28/19
to cartodb
Hi! We have realized that there's an issue related to this in the CARTO platform, we are working on it. I'll let you know! Sorry for the inconvenience.

Shoaib Burq

unread,
Nov 25, 2019, 8:51:35 PM11/25/19
to cartodb
I'd recommend 
1. regenerating your api key. 
2. clear your browser cache. 

Chris Rowe

unread,
Jan 9, 2020, 9:27:25 AM1/9/20
to car...@googlegroups.com
Is it normal for this same message to come up after leaving a map open for a few hours or overnight using the carto.com hosted maps?
Refreshing the page fixes the issue, but for our customers it looks like a broken map.
If this is the intended behavior I think it would be good to have some kind of message or button to refresh the page.

Chris

--

---
You received this message because you are subscribed to the Google Groups "cartodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cartodb+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cartodb/1a33a8d2-79ee-431e-b38e-7155d6e601c6%40googlegroups.com.


--

Chris Rowe

 Geospatial Products Manager

 M: 512-587-0952 

 https://ruralinnovation.us

 LinkedIn - Twitter - Facebook

Andrew Thompson

unread,
Jan 10, 2020, 1:26:45 PM1/10/20
to cartodb
I don't fully understand all the implications or how it works, but yes this is kind of the normal intended behavior. As CARTO generates map tiles (Windshaft), they get cached on a CDN (in the carto.com cloud accounts) or in Varnish (open source) under an ephemeral map configuration token (aka layergroupid, I'm pretty sure). The cache is purged/invalidated every so often when there's no continued activity on a map, so "a few hours" sitting still with no user interaction fits the bill. The in-memory Javascript variables in a browser tab of a map that has been open that long will still be set to the old token describing the cache location, but it doesn't exist anymore on the server once purged, hence this error. And why refreshing the map takes care of it easy, because on refresh the map is re-instantiated and a new cache is created.

A tip to work-around this behavior if you're developing an application (and not a Builder map) might be to try this tile access method with Named maps instead: https://carto.com/developers/maps-api/guides/named-maps/#fetching-xyz-tiles-for-named-maps You'd have to use the more traditional "XYZ" layer fetching functionality of whatever base mapping library you use (L.tileLayer(), for example), instead of any CARTO.js / CARTO VL feature (neither of the SDKs have any Named map access features). But the Named map name should never change and those tiles should always be present at that location, even hours/nights/days later of a continuously open browser tab.


On Thursday, January 9, 2020 at 9:27:25 AM UTC-5, Chris Rowe wrote:
Is it normal for this same message to come up after leaving a map open for a few hours or overnight using the carto.com hosted maps?
Refreshing the page fixes the issue, but for our customers it looks like a broken map.
If this is the intended behavior I think it would be good to have some kind of message or button to refresh the page.

Chris

On Mon, Nov 25, 2019 at 8:51 PM Shoaib Burq <sab...@gmail.com> wrote:
I'd recommend 
1. regenerating your api key. 
2. clear your browser cache. 

--

---
You received this message because you are subscribed to the Google Groups "cartodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to car...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages