Hello,
I use “Infinity” as my data source because i want to connect to a rest API.
As type a choose JSON. When refresh my dashboard i get a “Unexpected token < in JSON at position 2 error” in Grafana. The same URL in the browser returns “This XML file does not appear to have any style information associated with it. The document tree is shown below.”
When i run the same URL in Swagger i recieve data when i set my Response Content type to “application/json” or “test/json”. When i select “application/xml” or “text/xml” as a Response Content type, i get an error as well in Swagger (An error has occurred.).
How can i setup Grafana to interpret the response as JSON and not as XML ?
Thanks in advance for your support