Cannot fetch data from InfluxDB via Data Manipulation Plugin

I tried to fetch the data from the InfluxDB via the Data Manipulation plugin. Without header params, the console returned Unauthorized (HTTP 401). After that, I added the Token on the request params then it returned “Request header field token is not allowed by Access-Control-Allow-Headers.”. My current Grafana version is “9.0.0”. Please tell me how to fix it

@quangvdm00 You need to adjust CORS restrictions to be able to connect.

Take a look at this topic:

Thanks for your reply, I solved it already. I have another question. Now, I need to insert data back into the InfluxDB, how can I do it on the Data Manipulation Plugin?

@quangvdm00 You can

  1. Use API following the example:
  1. Use the Data Source directly in the latest version:

Thanks for your great help. I fixed it!!!

1 Like