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,
I try to use python to write data to influxdb, code like below:
client = InfluxDBClient(url=url, token=token, org=org)
write_api = client.write_api(write_options=SYNCHRONOUS)
point = (
Point('measurement1')
.tag('tagname1', 'tagval1')
.field('field1', val)
)
write_api.write(bucket=bucket, org=org, record=point)
But I get "ApiException: (404)": Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Content-Type': 'application/json; charset=utf-8', 'X-Influxdb-Build': 'OSS', 'X-Influxdb- Version': 'v2.7.6', 'X-Platform-Error-Code': 'not found', 'Date': 'Mon, 10 Jun 2024 04:50:59 GMT', 'Content-Length': '68'})
HTTP response body: {"code":"not found","message":"bucket "\u003cgg\u003e" not found"}
Any recommend or suggestion is appreciated! Thank you
The text was updated successfully, but these errors were encountered:
Hello,
I try to use python to write data to influxdb, code like below:
client = InfluxDBClient(url=url, token=token, org=org)
write_api = client.write_api(write_options=SYNCHRONOUS)
point = (
Point('measurement1')
.tag('tagname1', 'tagval1')
.field('field1', val)
)
write_api.write(bucket=bucket, org=org, record=point)
But I get "ApiException: (404)": Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Content-Type': 'application/json; charset=utf-8', 'X-Influxdb-Build': 'OSS', 'X-Influxdb- Version': 'v2.7.6', 'X-Platform-Error-Code': 'not found', 'Date': 'Mon, 10 Jun 2024 04:50:59 GMT', 'Content-Length': '68'})
HTTP response body: {"code":"not found","message":"bucket "\u003cgg\u003e" not found"}
Any recommend or suggestion is appreciated! Thank you
The text was updated successfully, but these errors were encountered: