You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Thank you for your contribution about the import of csv files into InfluxDB.
I'm trying the code since several days and I do not succeed in resolving the error mentionned in the subject : InfluxDBClientError: 401: {"code":"unauthorized","message":"Unauthorized"}
I putted the login and password in the line code as indicated in the help of csv-to-influxdb and this is what I obtain :
Read 792 lines
Inserting 792 datapoints...
Problem inserting points for current batch
Traceback (most recent call last):
File "csv-to-influxdb.py", line 211, in
loadCsv(args.input, args.server, args.user, args.password, args.dbname,
File "csv-to-influxdb.py", line 151, in loadCsv
raise e
File "csv-to-influxdb.py", line 147, in loadCsv
response = client.write_points(datapoints)
File "C:\Users\Ecologie\anaconda3\lib\site-packages\influxdb\client.py", line 603, in write_points
return self._write_points(points=points,
File "C:\Users\Ecologie\anaconda3\lib\site-packages\influxdb\client.py", line 681, in _write_points
self.write(
File "C:\Users\Ecologie\anaconda3\lib\site-packages\influxdb\client.py", line 413, in write
self.request(
File "C:\Users\Ecologie\anaconda3\lib\site-packages\influxdb\client.py", line 378, in request
raise InfluxDBClientError(err_msg, response.status_code)
influxdb.exceptions.InfluxDBClientError: 401: {"code":"unauthorized","message":"Unauthorized"}
The text was updated successfully, but these errors were encountered:
Hello,
Thank you for your contribution about the import of csv files into InfluxDB.
I'm trying the code since several days and I do not succeed in resolving the error mentionned in the subject : InfluxDBClientError: 401: {"code":"unauthorized","message":"Unauthorized"}
I putted the login and password in the line code as indicated in the help of csv-to-influxdb and this is what I obtain :
Read 792 lines
Inserting 792 datapoints...
Problem inserting points for current batch
Traceback (most recent call last):
File "csv-to-influxdb.py", line 211, in
loadCsv(args.input, args.server, args.user, args.password, args.dbname,
File "csv-to-influxdb.py", line 151, in loadCsv
raise e
File "csv-to-influxdb.py", line 147, in loadCsv
response = client.write_points(datapoints)
File "C:\Users\Ecologie\anaconda3\lib\site-packages\influxdb\client.py", line 603, in write_points
return self._write_points(points=points,
File "C:\Users\Ecologie\anaconda3\lib\site-packages\influxdb\client.py", line 681, in _write_points
self.write(
File "C:\Users\Ecologie\anaconda3\lib\site-packages\influxdb\client.py", line 413, in write
self.request(
File "C:\Users\Ecologie\anaconda3\lib\site-packages\influxdb\client.py", line 378, in request
raise InfluxDBClientError(err_msg, response.status_code)
influxdb.exceptions.InfluxDBClientError: 401: {"code":"unauthorized","message":"Unauthorized"}
The text was updated successfully, but these errors were encountered: