0 Series Returned - What am I missing here?

Evening everyone :slight_smile:

I’m currently trying to get an API integration into Grafana working.
Using postman, I can query the API and GET a response, this is using Basic Authentication.

However when I’m entering those details into Grafana the response I receive is 0 Series Returned.

I can spit this JSON out in Postman ( Garbage data for now)

{“type”:“result”,“result”:{“total”:2,“records”:[{“id”:“1”,“name”:“LDAP”,“type”:“3”,“hash”:“62a3db98a6a1f10cea44d1aa05d6dd0d”,“owner_id”:“0”,“sync_set”:“0”,“sync_interval”:“0”,“sync_params”:""},{“id”:“14”,“name”:“Schools”,“type”:“2”,“hash”:"",“owner_id”:“0”,“sync_set”:“0”,“sync_interval”:“0”,“sync_params”:""}]}}

But can’t get anything to display in Grafana.
I’m not receiving any error messages and I know its Authenticated correctly… completely stumped :frowning:

Any help would be epic!
Thanks

what plugin are you using? The JSON API plugin?

Hey there,
I have the same problem as @PredictConnor and I’m using JSON API plugin.

The response is correct because I check the network when the query is done but Grafana is showing 0 series returned

Thanks!

Welcome

What does the data returned by api look like? Does it have a datetime data? Is this datetime UTC?

Hi @yosiasz ,
Thanks for your quick response.

I had datetime in my data so I tried with a simple json


Still getting the same error

What does the data returned by api look like? Does it have a datetime data? Is this datetime UTC?