influxdb-python
influxdb-python copied to clipboard
Cannot authorize client by Token
InfluxDB version: influxDB Cloud InfluxDB-python version: 5.3.0 Using python3
Using example : https://influxdb-python.readthedocs.io/en/latest/examples.html?highlight=token#tutorials-authorization-by-token In order to authenticate by api token. I'm receiving TypeError: init() got an unexpected keyword argument 'headers' While I can see that there is headers in client init class, possible you haven't deployed it yet? Please review
It should be headers={'Authorization': 'Token <token value base64 decoded>'}