Now (suddenly) everything is working just fine.
Inspecting the post body sent from the library (when it was broken):
[
{
"jsonrpc": "2.0",
"id": "gapiRpc",
"method": "analytics.data.ga.get",
"apiVersion": "undefined",
"params": {
…
}
}
]
Now I get a different payload from the "same" library:
[
{
"jsonrpc": "2.0",
"id": "gapiRpc",
"method": "analytics.data.ga.get",
"params": {
…
},
"apiVersion": "v3"
}
]
Would be great to hear something from Google regarding this issue. Silence is not gold in this matter.