Hello @Denice
If you are using Gen2, then the below sample is useful.
this is an example of how to use the SDK with a Gen2 (aka PAYG) environment
https://tsiclientsample.azurewebsites.net/withplatform/PAYG.html
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I have a web application where I try to visualize the data I have in my Time Series Insights environment in a basic chart with the Azure Time Series Insights Javascript SDK, but when I try to get the data I get the following error:
When trying this is postman I get the following:
Because of the error this is what I see in my webapp:
I don't know exactly what I need to do to fix this problem so I'm hoping someone can help me with this problem.
Hello @Denice
If you are using Gen2, then the below sample is useful.
this is an example of how to use the SDK with a Gen2 (aka PAYG) environment
https://tsiclientsample.azurewebsites.net/withplatform/PAYG.html
Hello @QuantumCache , @Denice
I have a web application where I try to visualize the data I have in my Time Series Insights environment in a basic chart with the Azure Time Series Insights Javascript SDK same as above i got an input aggregate error.
I am using Gen2, i need to shape json for sending data, Is there any document for shaping JSON
In Document link was Broken https://learn.microsoft.com/en-us/azure/time-series-insights/how-to-shape-json.
tsiClient.server.getTsqResults(response.accessToken, '10000000000000000'.env.timeseries.azure.com', linechartTsqExpressions.map(function(ae){return ae.toTsq()})).then(function(result){
console.log(result)
// result I am getting 400 response.