Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

invalid tag format: tag ending with \\\\ #895

Open
arindamchoudhury opened this issue Jul 14, 2021 · 0 comments
Open

invalid tag format: tag ending with \\\\ #895

arindamchoudhury opened this issue Jul 14, 2021 · 0 comments

Comments

@arindamchoudhury
Copy link

arindamchoudhury commented Jul 14, 2021

influxdb version: 1.8.6
influxdb client version: 5.3.1
python version: 3.5.3
debian_version: 9.13

data = {
    'measurement': 'check_invalid_tag',
    'time': 1626254162,
    'tags': {
	'mount_point': 'd:\\',
	'physical_filename': 'd:\\MicrosoftSQLServer\\MSSQL14.X3V12PRE\\MSSQL\\Data\\tempdb.mdf'
    },
    'fields': {
        'size': 50
    }
}

influx_client.write_points([data], time_precision='s', database='arindam')

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.5/dist-packages/influxdb/client.py", line 608, in write_points
    consistency=consistency)
  File "/usr/local/lib/python3.5/dist-packages/influxdb/client.py", line 685, in _write_points
    protocol=protocol
  File "/usr/local/lib/python3.5/dist-packages/influxdb/client.py", line 419, in write
    headers=headers
  File "/usr/local/lib/python3.5/dist-packages/influxdb/client.py", line 378, in request
    raise InfluxDBClientError(err_msg, response.status_code)
influxdb.exceptions.InfluxDBClientError: 400: {"error":"unable to parse 'check_invalid_tag,mount_point=d:\\\\,physical_filename=d:\\\\MicrosoftSQLServer\\\\MSSQL14.X3V12PRE\\\\MSSQL\\\\Data\\\\tempdb.mdf size=50i 1626254162': invalid tag format"}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant