Error when updating a dashboard query variable

I am developing JSON plugin to connect to Informix TS databases. The datasource is fine and I get lots of data, nice and quick and it displays without any issues.

My dumb question… under Dashboard Query Variables does it the use the database query builder? The query I use runs fine via a direct (Chrome) connection but I see the following when I update the dashboard variable

Templating [query1]

Error updating options: Failed to execute ‘fetch’ on ‘Window’: Request with GET/HEAD method cannot have body.

Like error says, you can’t make GET requests with a body/payload. This is a limitation in the browser, rather than in Grafana. Does the API for Informix TS require a body in the request? If so, you might need to look at building a backend plugin to make the request instead.

Badly formed JSON request. All my own fault

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.