Thanks to visit codestin.com
Credit goes to github.com

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

Exception on get_list_servers() #342

Closed
@tejasbehra

Description

@tejasbehra

Influxdb 0.13v

Traceback (most recent call last):
File "store_log.py", line 8, in
print client.get_list_servers()
File "/usr/local/lib/python2.7/dist-packages/influxdb/client.py", line 615, in get_list_servers
return list(self.query("SHOW SERVERS").get_points())
File "/usr/local/lib/python2.7/dist-packages/influxdb/client.py", line 325, in query
expected_response_code=expected_response_code
File "/usr/local/lib/python2.7/dist-packages/influxdb/client.py", line 248, in request
raise InfluxDBClientError(response.content, response.status_code)
influxdb.exceptions.InfluxDBClientError: 400: {"error":"error parsing query: found SERVERS, expected CONTINUOUS, DATABASES, DIAGNOSTICS, FIELD, GRANTS, MEASUREMENTS, QUERIES, RETENTION, SERIES, SHARD, SHARDS, STATS, SUBSCRIPTIONS, TAG, USERS at line 1, char 6"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions