Hi Daniel,

My Chrome version:
Version 84.0.4147.89 (Official Build) (64-bit)
[An extremely modern browser :-)

My platform:
Ubuntu 18.04.4 LTS

The query test I use is from the Google guide:
https://developers.google.com/chart/interactive/docs/spreadsheets

If I tried to load 'current' the request times out and in the console I get:

Access to XMLHttpRequest at 
'https://docs.google.com/spreadsheets/d/1XWJLkAwch5GXAt_7zOFDcg8Wm8Xv29_8PWuuW15qmAE/gviz/tq?gid=0&headers=1&tq=SELECT%20A%2C%20H%2C%20O%2C%20Q%2C%20R%2C%20U%20LIMIT%205%20OFFSET%208&tqx=reqId%3A0'
 
from origin 'null' has been blocked by CORS policy: No 
'Access-Control-Allow-Origin' header is present on the requested resource.
docs.google.com/spreadsheets/d/1XWJLkAwch5GXAt_7zOFDcg8Wm8Xv29_8PWuuW15qmAE/gviz/tq?gid=0&headers=1&tq=SELECT%20A%2C%20H%2C%20O%2C%20Q%2C%20R%2C%20U%20LIMIT%205%20OFFSET%208&tqx=reqId%3A0:1
 
Failed to load resource: net::ERR_FAILED
jsapi_compiled_default_module.js:251 Uncaught Error: Error handling Query: 
XhrHttpError: Request Failed, status=0, 
url=https://docs.google.com/spreadsheets/d/1XWJLkAwch5GXAt_7zOFDcg8Wm8Xv29_8PWuuW15qmAE/gviz/tq?gid=0&headers=1&tq=SELECT%20A%2C%20H%2C%20O%2C%20Q%2C%20R%2C%20U%20LIMIT%205%20OFFSET%208&tqx=reqId%3A0
    at jsapi_compiled_default_module.js:379
    at e.XD (jsapi_compiled_default_module.js:258)
    at gvjs_ok (jsapi_compiled_default_module.js:261)
    at gvjs_lk (jsapi_compiled_default_module.js:261)
    at gvjs_bk.Nna (jsapi_compiled_default_module.js:260)
    at gvjs_$j (jsapi_compiled_default_module.js:255)

If I replace 'current' with '47' the page loads correctly.

Of course I have no way of knowing whether the two bugs have the same root 
cause or not but
in this experiment there is no MS technology anywhere

Thanks for looking into this.

Let me know if you need more info / dump  / etc from me in order to 
reproduce this bug.

Joseph


On Monday, July 27, 2020 at 10:04:37 PM UTC+2, Daniel LaLiberte wrote:
>
> Hi Joseph,
>
> Yes, we tested on all the modern browsers.  In fact, a big reason for the 
> change was to accommodate MS Edge.    
>
> The problem now seems to be that some spreadsheet URLs get redirected 
> (perhaps via server-side, so not visible?) which results in failures 
> because the CORS related info is not passed on.  Check your browser's 
> debugger to see what it reports when trying to do the query.  If there is a 
> redirect, use the URL that it redirects to, and you might have better luck.
>
> On Mon, Jul 27, 2020 at 3:38 PM Joseph Janos <[email protected] 
> <javascript:>> wrote:
>
>> Thanks, Amy for the solution! It works!
>>
>> Daniel,
>>
>> I assume you tested this bug on various platform: this is NOT MS Edge 
>> specific. I ran into this bug on a pure Google platform. (Chrome, Google 
>> Drive.)
>>
>> Joseph
>>
>> On Thursday, May 14, 2020 at 4:47:47 PM UTC+2, Daniel LaLiberte wrote:
>>>
>>> Thanks for your post(s) Amy.  I can reproduce the problem as well, and 
>>> we are investigating the cause.  There appears to be some incompatibility 
>>> with how Edge supports the features we are using in the Query call and 
>>> response.
>>>
>>> On Thu, May 14, 2020 at 7:35 AM Amy Finkbiner <[email protected]> 
>>> wrote:
>>>
>>>> For anyone who finds this by searching, you can work around the issue 
>>>> by calling google.charts.load('47') instead of 
>>>> google.charts.load('current').
>>>>
>>>> -- 
>>>> 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 [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/google-visualization-api/f54e9562-344b-4ec1-a136-180391f8a9d6%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/google-visualization-api/f54e9562-344b-4ec1-a136-180391f8a9d6%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
>>>
>>> -- 
>>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
>>> [email protected]   Cambridge MA
>>>
>>> -- 
>> 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 [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-visualization-api/4f7f31f3-d492-49f5-882e-66fee32b8ce7o%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-visualization-api/4f7f31f3-d492-49f5-882e-66fee32b8ce7o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
> [email protected] <javascript:>   Cambridge MA
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/8f79db27-7f16-4a60-89b3-0b9e59130b72o%40googlegroups.com.

Reply via email to