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
But when adding a trailing slash to the url: client = InfluxDBClient(url="https://us-west-2-1.aws.cloud2.influxdata.com/", token=token, org=org, debug=True)
the error that comes back is HTTP response body: {"code":"not found","message":"path not found"} when I use InfluxDB cloud.
For localhost, without a slash, i get a 200, but with a slash, i get a 204.
IMO, we should detect and trim the trailing slash from the connection urls.
The text was updated successfully, but these errors were encountered:
When using a url without a trailing slash, everything works fine:
client = InfluxDBClient(url="https://us-west-2-1.aws.cloud2.influxdata.com", token=token, org=org, debug=True)
But when adding a trailing slash to the url:
client = InfluxDBClient(url="https://us-west-2-1.aws.cloud2.influxdata.com/", token=token, org=org, debug=True)
the error that comes back is
HTTP response body: {"code":"not found","message":"path not found"}
when I use InfluxDB cloud.For localhost, without a slash, i get a 200, but with a slash, i get a 204.
IMO, we should detect and trim the trailing slash from the connection urls.
The text was updated successfully, but these errors were encountered: