Geocharts not loading as of Monday

57 views
Skip to first unread message

Bryce Kujala

unread,
Oct 3, 2018, 2:48:01 PM10/3/18
to Google Visualization API
When jsapi_compiled_geochart_module.js loads via the Loader, we get back no code, which causes the geochart to not display. I have tried changing the version from current to 45.2, but I still see the same result. I do not see any errors. Is there anything else I should try?

Daniel LaLiberte

unread,
Oct 3, 2018, 3:54:03 PM10/3/18
to Google Visualization API
Do you see charts on the GeoChart documentation page?  https://developers.google.com/chart/interactive/docs/gallery/geochart  Can you point us at a page showing the problem you are experiencing?

Perhaps the problem you are having is related to the mapsApiKey.  The geo coding service has become more restrictive in recent weeks, so you will have to set up use of your own key instead of relying on the default.

On Wed, Oct 3, 2018 at 2:48 PM 'Bryce Kujala' via Google Visualization API <google-visua...@googlegroups.com> wrote:
When jsapi_compiled_geochart_module.js loads via the Loader, we get back no code, which causes the geochart to not display. I have tried changing the version from current to 45.2, but I still see the same result. I do not see any errors. Is there anything else I should try?

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/e2d5c17b-f112-43a3-befc-16aef1044274%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Bryce Kujala

unread,
Oct 3, 2018, 4:18:57 PM10/3/18
to Google Visualization API
Hi Daniel,

I also suspect that it is related to the mapsApiKey as we are not currently using one. I've set the following code in a test environment. Does this look right?

    <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
    <script type="text/javascript" src="https://www.google.com/jsapi"></script>
    <script type="text/javascript">
        google.charts.load('45.2', {'packages':['corechart', 'geochart', 'table'], 'mapsApiKey': <My newly created API key>});
    </script>

When I look at the console at https://console.cloud.google.com/google/maps-apis/overview I do not see any activity against my key, which makes me suspect I've missed a step.

Since we're missing the key, I don't have an environment you can access directly. However, if we can screen share, I can show you what I am seeing.

Thank you for the quick response!

On Wednesday, October 3, 2018 at 12:54:03 PM UTC-7, Daniel LaLiberte wrote:
Do you see charts on the GeoChart documentation page?  https://developers.google.com/chart/interactive/docs/gallery/geochart  Can you point us at a page showing the problem you are experiencing?

Perhaps the problem you are having is related to the mapsApiKey.  The geo coding service has become more restrictive in recent weeks, so you will have to set up use of your own key instead of relying on the default.

On Wed, Oct 3, 2018 at 2:48 PM 'Bryce Kujala' via Google Visualization API <google-visua...@googlegroups.com> wrote:
When jsapi_compiled_geochart_module.js loads via the Loader, we get back no code, which causes the geochart to not display. I have tried changing the version from current to 45.2, but I still see the same result. I do not see any errors. Is there anything else I should try?

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

Daniel LaLiberte

unread,
Oct 3, 2018, 4:44:18 PM10/3/18
to Google Visualization API
You no longer need to load the jsapi loader; it was necessary up until version 45, but no longer.

Make sure you quote your mapsApiKey.  Looks good otherwise.  Have you observed what happens in the browser debugger?  Look especially at the 'Network' tab to see what resources get loaded.


On Wed, Oct 3, 2018 at 4:19 PM 'Bryce Kujala' via Google Visualization API <google-visua...@googlegroups.com> wrote:
Hi Daniel,

I also suspect that it is related to the mapsApiKey as we are not currently using one. I've set the following code in a test environment. Does this look right?

    <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
    <script type="text/javascript" src="https://www.google.com/jsapi"></script>
    <script type="text/javascript">
        google.charts.load('45.2', {'packages':['corechart', 'geochart', 'table'], 'mapsApiKey': <My newly created API key>});
    </script>

When I look at the console at https://console.cloud.google.com/google/maps-apis/overview I do not see any activity against my key, which makes me suspect I've missed a step.

Since we're missing the key, I don't have an environment you can access directly. However, if we can screen share, I can show you what I am seeing.

Thank you for the quick response!

On Wednesday, October 3, 2018 at 12:54:03 PM UTC-7, Daniel LaLiberte wrote:
Do you see charts on the GeoChart documentation page?  https://developers.google.com/chart/interactive/docs/gallery/geochart  Can you point us at a page showing the problem you are experiencing?

Perhaps the problem you are having is related to the mapsApiKey.  The geo coding service has become more restrictive in recent weeks, so you will have to set up use of your own key instead of relying on the default.

On Wed, Oct 3, 2018 at 2:48 PM 'Bryce Kujala' via Google Visualization API <google-visua...@googlegroups.com> wrote:
When jsapi_compiled_geochart_module.js loads via the Loader, we get back no code, which causes the geochart to not display. I have tried changing the version from current to 45.2, but I still see the same result. I do not see any errors. Is there anything else I should try?

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.

For more options, visit https://groups.google.com/d/optout.


--

Bryce Kujala

unread,
Oct 3, 2018, 4:56:31 PM10/3/18
to Google Visualization API
Yes, the API key is quoted. I noticed that single quotes are not valid JSON, so I have changed to use double quotes in case that was the issue, but that did not help.

From looking at the Network tab, the issue seems to be that it is calling to https://www.gstatic.com/charts/45.2/js/jsapi_compiled_table_module.js but the response is empty. It returns a 200 and there is no corresponding error. Is this consistent with the behavior if it did not recognize our API key? Should I see the key as part of this request?

On Wednesday, October 3, 2018 at 1:44:18 PM UTC-7, Daniel LaLiberte wrote:
You no longer need to load the jsapi loader; it was necessary up until version 45, but no longer.

Make sure you quote your mapsApiKey.  Looks good otherwise.  Have you observed what happens in the browser debugger?  Look especially at the 'Network' tab to see what resources get loaded.


On Wed, Oct 3, 2018 at 4:19 PM 'Bryce Kujala' via Google Visualization API <google-visua...@googlegroups.com> wrote:
Hi Daniel,

I also suspect that it is related to the mapsApiKey as we are not currently using one. I've set the following code in a test environment. Does this look right?

    <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
    <script type="text/javascript" src="https://www.google.com/jsapi"></script>
    <script type="text/javascript">
        google.charts.load('45.2', {'packages':['corechart', 'geochart', 'table'], 'mapsApiKey': <My newly created API key>});
    </script>

When I look at the console at https://console.cloud.google.com/google/maps-apis/overview I do not see any activity against my key, which makes me suspect I've missed a step.

Since we're missing the key, I don't have an environment you can access directly. However, if we can screen share, I can show you what I am seeing.

Thank you for the quick response!

On Wednesday, October 3, 2018 at 12:54:03 PM UTC-7, Daniel LaLiberte wrote:
Do you see charts on the GeoChart documentation page?  https://developers.google.com/chart/interactive/docs/gallery/geochart  Can you point us at a page showing the problem you are experiencing?

Perhaps the problem you are having is related to the mapsApiKey.  The geo coding service has become more restrictive in recent weeks, so you will have to set up use of your own key instead of relying on the default.

On Wed, Oct 3, 2018 at 2:48 PM 'Bryce Kujala' via Google Visualization API <google-visua...@googlegroups.com> wrote:
When jsapi_compiled_geochart_module.js loads via the Loader, we get back no code, which causes the geochart to not display. I have tried changing the version from current to 45.2, but I still see the same result. I do not see any errors. Is there anything else I should try?

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

Daniel LaLiberte

unread,
Oct 3, 2018, 5:02:09 PM10/3/18
to Google Visualization API
A problem with the table chart should be complete separate from anything involving the geochart.

Here is a jsfiddle page loading 45.2 with a table chart:  https://jsfiddle.net/dlaliberte/b0j5vo2x/  
Seems to be loading https://www.gstatic.com/charts/45.2/js/jsapi_compiled_table_module.js just fine.  Does this show up correctly for you?  Maybe you have a cached copy that is bad?

On Wed, Oct 3, 2018 at 4:56 PM 'Bryce Kujala' via Google Visualization API <google-visua...@googlegroups.com> wrote:
Yes, the API key is quoted. I noticed that single quotes are not valid JSON, so I have changed to use double quotes in case that was the issue, but that did not help.

From looking at the Network tab, the issue seems to be that it is calling to https://www.gstatic.com/charts/45.2/js/jsapi_compiled_table_module.js but the response is empty. It returns a 200 and there is no corresponding error. Is this consistent with the behavior if it did not recognize our API key? Should I see the key as part of this request?

On Wednesday, October 3, 2018 at 1:44:18 PM UTC-7, Daniel LaLiberte wrote:
You no longer need to load the jsapi loader; it was necessary up until version 45, but no longer.

Make sure you quote your mapsApiKey.  Looks good otherwise.  Have you observed what happens in the browser debugger?  Look especially at the 'Network' tab to see what resources get loaded.


On Wed, Oct 3, 2018 at 4:19 PM 'Bryce Kujala' via Google Visualization API <google-visua...@googlegroups.com> wrote:
Hi Daniel,

I also suspect that it is related to the mapsApiKey as we are not currently using one. I've set the following code in a test environment. Does this look right?

    <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
    <script type="text/javascript" src="https://www.google.com/jsapi"></script>
    <script type="text/javascript">
        google.charts.load('45.2', {'packages':['corechart', 'geochart', 'table'], 'mapsApiKey': <My newly created API key>});
    </script>

When I look at the console at https://console.cloud.google.com/google/maps-apis/overview I do not see any activity against my key, which makes me suspect I've missed a step.

Since we're missing the key, I don't have an environment you can access directly. However, if we can screen share, I can show you what I am seeing.

Thank you for the quick response!

On Wednesday, October 3, 2018 at 12:54:03 PM UTC-7, Daniel LaLiberte wrote:
Do you see charts on the GeoChart documentation page?  https://developers.google.com/chart/interactive/docs/gallery/geochart  Can you point us at a page showing the problem you are experiencing?

Perhaps the problem you are having is related to the mapsApiKey.  The geo coding service has become more restrictive in recent weeks, so you will have to set up use of your own key instead of relying on the default.

On Wed, Oct 3, 2018 at 2:48 PM 'Bryce Kujala' via Google Visualization API <google-visua...@googlegroups.com> wrote:
When jsapi_compiled_geochart_module.js loads via the Loader, we get back no code, which causes the geochart to not display. I have tried changing the version from current to 45.2, but I still see the same result. I do not see any errors. Is there anything else I should try?

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.

For more options, visit https://groups.google.com/d/optout.


--

Terry Osterdock

unread,
Oct 3, 2018, 5:09:09 PM10/3/18
to Google Visualization API
Hi Daniel,
I think Bryce mis-copy/pasted.  The file that is returning empty is actually jsapi_compiled_geochart_module.js
-Terry

Terry Osterdock

unread,
Oct 3, 2018, 5:10:50 PM10/3/18
to Google Visualization API
We are also running Bar and Pie charts on the same page and those charts have continued to work fine.  It is just geoChart that stopped working for us.

Bryce Kujala

unread,
Oct 3, 2018, 6:38:37 PM10/3/18
to Google Visualization API
Hi Daniel,

As Terry said, I had grabbed the wrong url. It is https://www.gstatic.com/charts/45.2/js/jsapi_compiled_geochart_module.js
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

Daniel LaLiberte

unread,
Oct 3, 2018, 7:25:40 PM10/3/18
to Google Visualization API
OK, in that case, what do you see on this jsfiddle of the GeoChart loading 45.2? https://jsfiddle.net/dlaliberte/mb03qL9r/

To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.

For more options, visit https://groups.google.com/d/optout.


--

Bryce Kujala

unread,
Oct 3, 2018, 8:09:51 PM10/3/18
to Google Visualization API
That works fine for me. I noticed that in your jsfiddle, the https://www.gstatic.com/charts/45.2/js/jsapi_compiled_geochart_module.js file is empty there also. Do you see the same? If so, that may not be the issue after all. I also forked it and confirmed it worked with my own API key, so that should not be the issue.

As far as I know, we have not done a code push on our side in the time where it stopped working, so it most likely has to do with version 46 releasing. Given that we're currently testing by setting the version to 45.2, what changes might be in effect?
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

Daniel LaLiberte

unread,
Oct 3, 2018, 9:04:24 PM10/3/18
to Google Visualization API
Yes, the jsapi_compiled_geochart_module.js file is (mostly) empty. It would be better if the geochart code was in there, but I guess it gets moved to the ui module for some reason.  

So the problem is elsewhere.  Could you point me at your page so I can see what happens?

To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.

For more options, visit https://groups.google.com/d/optout.


--

Bryce Kujala

unread,
Oct 3, 2018, 10:12:57 PM10/3/18
to Google Visualization API
It requires login. Can you email me privately (br...@shipwire.com) and I'll give you access to an account on our beta server?
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

Bryce Kujala

unread,
Oct 8, 2018, 12:57:21 PM10/8/18
to Google Visualization API
To close the loop on this for anyone finding this thread in the future, we had code that was accessing the internal property names. Thanks for the help in tracking down this issue, Daniel!
Reply all
Reply to author
Forward
0 new messages