PS: reqId is properly taken from the query parameter, I just wrote "0" in 
the object for an example.

On Thursday, February 4, 2021 at 8:59:24 PM UTC-3 Claudio wrote:

> Hi, I am testing an endpoint as a data source. Its raw response now is:
>
>
> google.visualization.Query.setResponse({"status":"ok","table":{"rows":[{"c":[{"v":1.0}]},{"c":[{"v":3.0}]}],"cols":[{"id":"Col1","type":"number"}]},"reqId":"0"})
>
> But when the response is processed after query.send(), I get the error: 
> "Unexpected token ) in JSON at position 121".
>
> But, as far as I can tell, the JSON format is as specified in the 
> documentation (with the detail of quotes around names because I interpret 
> this is proper for "strict" JSON). 
>
> What could be going wrong ?
>
> Thanks in advance!
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/450524f3-8d3b-44ff-84e6-197b16ba910dn%40googlegroups.com.

Reply via email to