I running a self-managed version of Grafana and InfluxDB using docker compose.
I am trying to upload a file and write its contents using the InfluxDB API. Found out that the header parameters are being lowercased on checking the console logs.
Steps to reproduce:
- Create a File element from Business Forms
- Update Request → URL: http://localhost:8086/api/v2/write?org=my-org&bucket=my-bucket&precision=s
- Add header parameters: Authorization: Token my-token
In the console, Authorization becomes authorization and errors out as 401: Unauthorized. I tried achieving something similar using Canvas Button which worked out fine for hard-coded payload. I’m not sure how to pass contents from a file to it.
Additional Information:
- Grafana v12.0.0 (4c0e7045f9)
- InfluxDB v2.7.11
- Business Forms v5.1.0