# \#client-libraries

**URL:** https://community.influxdata.com/tag/client-libraries/18.md

[Latest](https://community.influxdata.com/latest.md) · [Categories](https://community.influxdata.com/categories.md) · [Tags](https://community.influxdata.com/tags.md)

---

## [BucketService::getBuckets() does not return all buckets for an organization (influxdb-client-php)](https://community.influxdata.com/t/bucketservice-getbuckets-does-not-return-all-buckets-for-an-organization-influxdb-client-php/34760)

<div class="topic-metadata">

**Author:** [@theirman](https://community.influxdata.com/u/theirman)\
**Replies:** 4\
**Last updated:** [September 15, 2026, 1:36pm UTC](https://community.influxdata.com/t/bucketservice-getbuckets-does-not-return-all-buckets-for-an-organization-influxdb-client-php/34760 "2026-09-15T13:36:30Z")

</div>

Hello everyone, I need to develop a web interface that queries our organizations/buckets in InfluxDB to provide first level information to our users. I’m developing this information in PHP 8.2 using the influxdb-client-…

---

## [InfluxDB v2 Changing Fields Datatype](https://community.influxdata.com/t/influxdb-v2-changing-fields-datatype/58616)

<div class="topic-metadata">

**Author:** [@ticchioned](https://community.influxdata.com/u/ticchioned)\
**Replies:** 4\
**Last updated:** [June 19, 2026, 1:13pm UTC](https://community.influxdata.com/t/influxdb-v2-changing-fields-datatype/58616 "2026-06-19T13:13:20Z")

</div>

I am working on a tool to help convert datatypes in InfluxDB v2 but am running into an issue that I’m hoping someone from InfluxDB or the community is able to solve. The tool begins by reading, converting, and saving th…

---

## [Write\_api.write(): Exception: cannot do slice indexing on DatetimeIndex with these indexers \[\] of type str](https://community.influxdata.com/t/write-api-write-exception-cannot-do-slice-indexing-on-datetimeindex-with-these-indexers-of-type-str/58275)

<div class="topic-metadata">

**Author:** [@jm\_wingdm](https://community.influxdata.com/u/jm_wingdm)\
**Replies:** 5\
**Last updated:** [February 17, 2026, 11:17am UTC](https://community.influxdata.com/t/write-api-write-exception-cannot-do-slice-indexing-on-datetimeindex-with-these-indexers-of-type-str/58275 "2026-02-17T11:17:27Z")

</div>

I am facing an issue while trying to write into InfluxDB 2.7 with python library influxdb-client==1.48.0. I have created a pandas DataFrame with this schema: signalname float64 imo object dtype: object He…

---

## [Using influxdb3 client API with a self-signed certificate](https://community.influxdata.com/t/using-influxdb3-client-api-with-a-self-signed-certificate/58175)

<div class="topic-metadata">

**Author:** [@Richard22](https://community.influxdata.com/u/Richard22)\
**Replies:** 2\
**Last updated:** [January 9, 2026, 10:01am UTC](https://community.influxdata.com/t/using-influxdb3-client-api-with-a-self-signed-certificate/58175 "2026-01-09T10:01:43Z")

</div>

Hello, here’s my situation: I am trying to use influxdb3 core on an ubuntu server. I have created self-signed certificates, set the tls-cert and tls-key arguments for influx, updated my ca-certificates and a curl request…

---

## [Rust streaming client for InfluxDB 2.x - influxdb-stream](https://community.influxdata.com/t/rust-streaming-client-for-influxdb-2-x-influxdb-stream/58201)

<div class="topic-metadata">

**Author:** [@almightychang](https://community.influxdata.com/u/almightychang)\
**Replies:** 0\
**Last updated:** [December 28, 2025, 3:20am UTC](https://community.influxdata.com/t/rust-streaming-client-for-influxdb-2-x-influxdb-stream/58201 "2025-12-28T03:20:20Z")

</div>

Hi everyone, I’ve built a Rust client for InfluxDB 2.x that focuses on memory-efficient streaming. Why I built this: When querying large datasets (millions of rows) for data migrations, existing Rust clients load every…

---

## [InfluxDB and Unity. Able to write, unable to query](https://community.influxdata.com/t/influxdb-and-unity-able-to-write-unable-to-query/56093)

<div class="topic-metadata">

**Author:** [@Topias\_Nykanen](https://community.influxdata.com/u/Topias_Nykanen)\
**Replies:** 4\
**Last updated:** [May 5, 2025, 2:53pm UTC](https://community.influxdata.com/t/influxdb-and-unity-able-to-write-unable-to-query/56093 "2025-05-05T14:53:30Z")

</div>

I’ve been testing out various database solutions to possibly integrate into my Unity project as means of storing coordinate data (in longitude-latitude pairs). Due to a recommendation from a co-worker I’ve also tried usi…

---

## [InfluxDBClient initialize with localhost takes longer time to query than initialize with 127.0.0.1, about 2 seconds](https://community.influxdata.com/t/influxdbclient-initialize-with-localhost-takes-longer-time-to-query-than-initialize-with-127-0-0-1-about-2-seconds/56895)

<div class="topic-metadata">

**Author:** [@Carmen](https://community.influxdata.com/u/Carmen)\
**Replies:** 0\
**Last updated:** [April 1, 2025, 2:05am UTC](https://community.influxdata.com/t/influxdbclient-initialize-with-localhost-takes-longer-time-to-query-than-initialize-with-127-0-0-1-about-2-seconds/56895 "2025-04-01T02:05:35Z")

</div>

We notice that if initialize InfluxDBClient with host http://localhost, it will take longer time to query than initialize InfluxDBClient with host http://127.0.0.1, any suggestion or solution?

---

## [Unauthorized 401 error for QuertApi of InfluxDBClient object when writing and reading local database value](https://community.influxdata.com/t/unauthorized-401-error-for-quertapi-of-influxdbclient-object-when-writing-and-reading-local-database-value/38805)

<div class="topic-metadata">

**Author:** [@itshihi](https://community.influxdata.com/u/itshihi)\
**Replies:** 2\
**Last updated:** [October 21, 2024, 10:36pm UTC](https://community.influxdata.com/t/unauthorized-401-error-for-quertapi-of-influxdbclient-object-when-writing-and-reading-local-database-value/38805 "2024-10-21T22:36:39Z")

</div>

hi, i’m trying to test my spring service code for reading influxdb. but i got 401 error with the meassage like "2024-10-16 17:52:50 ts=2024-10-16T08:52:50.658230Z lvl=info msg=Unauthorized log\_id=0sH8FS4W000 error="toke…

---

## [Fields are different but Tags are same still getting overwritten](https://community.influxdata.com/t/fields-are-different-but-tags-are-same-still-getting-overwritten/30417)

<div class="topic-metadata">

**Author:** [@jags](https://community.influxdata.com/u/jags)\
**Replies:** 2\
**Last updated:** [September 30, 2024, 10:21pm UTC](https://community.influxdata.com/t/fields-are-different-but-tags-are-same-still-getting-overwritten/30417 "2024-09-30T22:21:29Z")

</div>

I know that the InfluxDB handles duplicate tag entries with same timestamp as a single entry and it’s overwrites it in DB. However, in my case, due to high sampling information I am encountering a case where timestamp a…

---

## [gRPC error while running influxdb in docker container on Digital ocean](https://community.influxdata.com/t/grpc-error-while-running-influxdb-in-docker-container-on-digital-ocean/35608)

<div class="topic-metadata">

**Author:** [@Amol\_Wankhede](https://community.influxdata.com/u/Amol_Wankhede)\
**Replies:** 1\
**Last updated:** [September 18, 2024, 7:43pm UTC](https://community.influxdata.com/t/grpc-error-while-running-influxdb-in-docker-container-on-digital-ocean/35608 "2024-09-18T19:43:37Z")

</div>

I am running influxdb in a container with Caddy (as a reverse proxy) available at influx.quantaflare.com I am using c# library to write the data (Datapoint class) - works well ! while reading the data, I create a clien…

---

## [Timestamps lose precision in Flux Query through C# API](https://community.influxdata.com/t/timestamps-lose-precision-in-flux-query-through-c-api/35192)

<div class="topic-metadata">

**Author:** [@JasonJ55](https://community.influxdata.com/u/JasonJ55)\
**Replies:** 6\
**Last updated:** [August 15, 2024, 9:57pm UTC](https://community.influxdata.com/t/timestamps-lose-precision-in-flux-query-through-c-api/35192 "2024-08-15T21:57:37Z")

</div>

Hi, \[This is my first forum post as I’m still somewhat new to influxdb!\] Whenever I run a query, the returned timestamps are rounded to seconds, but I need them to be more precise. For example, here are two timestamps…

---

## [Map function python error](https://community.influxdata.com/t/map-function-python-error/35036)

<div class="topic-metadata">

**Author:** [@fgarcia](https://community.influxdata.com/u/fgarcia)\
**Replies:** 3\
**Last updated:** [July 23, 2024, 6:20pm UTC](https://community.influxdata.com/t/map-function-python-error/35036 "2024-07-23T18:20:38Z")

</div>

Hello, I’m trying to convert \_time column into int (or uint) while querying through python client library but I’m getting the error Traceback (most recent call last): File "/home/ubuntu/python/push/push.py", line 62,…

---

## [Influx Query returning partial data](https://community.influxdata.com/t/influx-query-returning-partial-data/34533)

<div class="topic-metadata">

**Author:** [@h\_d](https://community.influxdata.com/u/h_d)\
**Replies:** 1\
**Last updated:** [June 11, 2024, 4:02pm UTC](https://community.influxdata.com/t/influx-query-returning-partial-data/34533 "2024-06-11T16:02:43Z")

</div>

I had added data to the database (influxDB OSS). It has ~200k rows. I verified by using cli (select \* from m\_prices where m\_prices is the measurement name). Using python client I am trying to get this data in pandas data…

---

## [Influxdb rust client and output format](https://community.influxdata.com/t/influxdb-rust-client-and-output-format/34451)

<div class="topic-metadata">

**Author:** [@klyk](https://community.influxdata.com/u/klyk)\
**Replies:** 0\
**Last updated:** [June 4, 2024, 11:45am UTC](https://community.influxdata.com/t/influxdb-rust-client-and-output-format/34451 "2024-06-04T11:45:06Z")

</div>

I’m using rust crate influxdb to get some data from influxdb. When I send query, db returns me a json string with tuples of values. This format is not compact and I wonder if there is a way to fetch data in the parquet …

---

## [Bug in Javascript client SDK and cloud error](https://community.influxdata.com/t/bug-in-javascript-client-sdk-and-cloud-error/33620)

<div class="topic-metadata">

**Author:** [@RickBullotta](https://community.influxdata.com/u/RickBullotta)\
**Replies:** 4\
**Last updated:** [March 20, 2024, 11:37am UTC](https://community.influxdata.com/t/bug-in-javascript-client-sdk-and-cloud-error/33620 "2024-03-20T11:37:47Z")

</div>

Specifications Client Version: Latest NPM version 1.33.2 InfluxDB Version: Influx Cloud, powered by TSM, storage engine V2, on AWS (free account) Platform: Node version 20.11.1 - issue occurs on both Windows and Linux c…

---

## [ValueError: cannot convert float NaN to integer](https://community.influxdata.com/t/valueerror-cannot-convert-float-nan-to-integer/32989)

<div class="topic-metadata">

**Author:** [@JanD](https://community.influxdata.com/u/JanD)\
**Replies:** 5\
**Last updated:** [March 3, 2024, 1:18pm UTC](https://community.influxdata.com/t/valueerror-cannot-convert-float-nan-to-integer/32989 "2024-03-03T13:18:04Z")

</div>

Hi there, When querying data with python influxDB client to pandas dataframe I get the error message ValueError: cannot convert float NaN to integer. .venv\\Lib\\site-packages\\influxdb\_client\\client\\flux\_csv\_parser.py",…

---

## [InfluxDB 3 serverless: write operation fails with "Error 403 data outside of the retention period"](https://community.influxdata.com/t/influxdb-3-serverless-write-operation-fails-with-error-403-data-outside-of-the-retention-period/33041)

<div class="topic-metadata">

**Author:** [@nicfio](https://community.influxdata.com/u/nicfio)\
**Replies:** 2\
**Last updated:** [February 8, 2024, 10:06am UTC](https://community.influxdata.com/t/influxdb-3-serverless-write-operation-fails-with-error-403-data-outside-of-the-retention-period/33041 "2024-02-08T10:06:03Z")

</div>

Hi everyone, I am using InfluxDB 3 Serverless. These days I am setting up the write operation to my InfluxDB cloud instance using the newer python client for influxdb 3 InfluxDB3-python-client. Through the web portal …

---

## [Trouble mapping fields to POJO using JAVA client library](https://community.influxdata.com/t/trouble-mapping-fields-to-pojo-using-java-client-library/20524)

<div class="topic-metadata">

**Author:** [@stanton009](https://community.influxdata.com/u/stanton009)\
**Replies:** 1\
**Last updated:** [February 1, 2024, 2:52pm UTC](https://community.influxdata.com/t/trouble-mapping-fields-to-pojo-using-java-client-library/20524 "2024-02-01T14:52:13Z")

</div>

Using the java client library, I am writing a POJO Measurement with multiple tags and multiple fields into a bucket using the java client library. I have no issues with writing Measurements. However when pulling back …

---

## [InfluxDB 3 with Rstudio](https://community.influxdata.com/t/influxdb-3-with-rstudio/32027)

<div class="topic-metadata">

**Author:** [@nowy](https://community.influxdata.com/u/nowy)\
**Replies:** 1\
**Last updated:** [November 12, 2023, 8:57am UTC](https://community.influxdata.com/t/influxdb-3-with-rstudio/32027 "2023-11-12T08:57:52Z")

</div>

Heyhey, Does anyone know if InfluxDB 3 will be compatible with the current Influxdb library’s within Rstudio? influxdbclient influxdbr

---

## [How can I trigger an InfluxDB "Notebook" to run immediately using python](https://community.influxdata.com/t/how-can-i-trigger-an-influxdb-notebook-to-run-immediately-using-python/19997)

<div class="topic-metadata">

**Author:** [@asmith](https://community.influxdata.com/u/asmith)\
**Replies:** 7\
**Last updated:** [September 7, 2023, 2:05pm UTC](https://community.influxdata.com/t/how-can-i-trigger-an-influxdb-notebook-to-run-immediately-using-python/19997 "2023-09-07T14:05:36Z")

</div>

In the use case of IOT where a machine is running doing a job, I would like to do some computations at the end of the job. Therefore I have need to trigger a “Task” or a “NoteBook” on an event.(i.e. the end of the “job”…

---

## [Delete tag via Python client](https://community.influxdata.com/t/delete-tag-via-python-client/31354)

<div class="topic-metadata">

**Author:** [@NicoCaldo](https://community.influxdata.com/u/NicoCaldo)\
**Replies:** 0\
**Last updated:** [August 31, 2023, 12:11pm UTC](https://community.influxdata.com/t/delete-tag-via-python-client/31354 "2023-08-31T12:11:19Z")

</div>

I’m using the Python client to delete series. I’m correctly deleting data point filtering the tag like: delete\_api.delete(start,stop,'\_measurement="Postazione1" and TipoTest="my\_test"') The only think is that the tag m…

---

## [Pushing data from SFTP server to influxdb](https://community.influxdata.com/t/pushing-data-from-sftp-server-to-influxdb/31173)

<div class="topic-metadata">

**Author:** [@Nipesh](https://community.influxdata.com/u/Nipesh)\
**Replies:** 1\
**Last updated:** [August 18, 2023, 5:39pm UTC](https://community.influxdata.com/t/pushing-data-from-sftp-server-to-influxdb/31173 "2023-08-18T17:39:56Z")

</div>

Greetings, I am collecting local remote data using a software then using python influxdb api client libary sends or write the local data to my influx instance in aws cloud. Usually it is working machine at my user site…

---

## [Timeout issue with InfluxDB Cloud](https://community.influxdata.com/t/timeout-issue-with-influxdb-cloud/30757)

<div class="topic-metadata">

**Author:** [@Mason\_Lanphear](https://community.influxdata.com/u/Mason_Lanphear)\
**Replies:** 3\
**Last updated:** [July 31, 2023, 5:04am UTC](https://community.influxdata.com/t/timeout-issue-with-influxdb-cloud/30757 "2023-07-31T05:04:27Z")

</div>

I’m using the influxdb cloud python client to ingest IoT data via a Google Cloud function, and encountering some timeout issues. The Traceback is below, but it appears the requests to my cloud function endpoint are timin…

---

## [Why \_time column has two values and how to get just one](https://community.influxdata.com/t/why-time-column-has-two-values-and-how-to-get-just-one/30508)

<div class="topic-metadata">

**Author:** [@NicoCaldo](https://community.influxdata.com/u/NicoCaldo)\
**Replies:** 7\
**Last updated:** [July 6, 2023, 4:57am UTC](https://community.influxdata.com/t/why-time-column-has-two-values-and-how-to-get-just-one/30508 "2023-07-06T04:57:22Z")

</div>

So I’m trying to get a dataframe from the database and plot it with matplot I’ve my query that get the data from(bucket: “Bed1”) |\> range(start: 2023-06-22T14:10:36.106Z, stop: 2023-06-22T14:29:12.154Z) |\> filter(fn…

---

## [How to empty InfluxDB Cloud bucket using Python Client](https://community.influxdata.com/t/how-to-empty-influxdb-cloud-bucket-using-python-client/22609)

<div class="topic-metadata">

**Author:** [@ajcandfield](https://community.influxdata.com/u/ajcandfield)\
**Replies:** 4\
**Last updated:** [June 27, 2023, 10:24am UTC](https://community.influxdata.com/t/how-to-empty-influxdb-cloud-bucket-using-python-client/22609 "2023-06-27T10:24:08Z")

</div>

I’ve just started using InfluxDB and right now I’m learning how to interact with it. I would like to know how to perform CRUD operations and, while I understand the CRU part, I haven’t found much on Deleting data. This …

---

## [InfluxDB C# Client Data Loss](https://community.influxdata.com/t/influxdb-c-client-data-loss/30188)

<div class="topic-metadata">

**Author:** [@C3RA-025](https://community.influxdata.com/u/C3RA-025)\
**Replies:** 1\
**Last updated:** [June 5, 2023, 9:09am UTC](https://community.influxdata.com/t/influxdb-c-client-data-loss/30188 "2023-06-05T09:09:16Z")

</div>

I’m running InfluxDB v2.7.1 in a Docker Container (v23.0.5) and try to use the C# InfluxDB-Client Library. The problem is that sometimes data is not transmitted from the Client to the Database. To verify it, my Client co…

---

## [Is there any more doc on the golang client libraries?](https://community.influxdata.com/t/is-there-any-more-doc-on-the-golang-client-libraries/29956)

<div class="topic-metadata">

**Author:** [@MirabilisBlush](https://community.influxdata.com/u/MirabilisBlush)\
**Replies:** 0\
**Last updated:** [May 16, 2023, 6:38pm UTC](https://community.influxdata.com/t/is-there-any-more-doc-on-the-golang-client-libraries/29956 "2023-05-16T18:38:40Z")

</div>

I don’t find anything explaining the fields in the Health structure or the possible errors from things like GetOrganizations or FindBucketByName. Can I tell from the error of FindBucketByName whether a bucket doesn’t (y…

---

## [Flux Parametrized Queries](https://community.influxdata.com/t/flux-parametrized-queries/29948)

<div class="topic-metadata">

**Author:** [@Roger\_Olive\_Delgado](https://community.influxdata.com/u/Roger_Olive_Delgado)\
**Replies:** 0\
**Last updated:** [May 16, 2023, 10:26am UTC](https://community.influxdata.com/t/flux-parametrized-queries/29948 "2023-05-16T10:26:34Z")

</div>

Hi everyone, I was wondering if it exists a library or another InfluxDB service to transform some code in a specific language, for example Javascript, into the query itself. I’m dealing with some queries that depending …

---

## [Lost connection to Influx client library(Python)](https://community.influxdata.com/t/lost-connection-to-influx-client-library-python/29683)

<div class="topic-metadata">

**Author:** [@Tram\_Vu](https://community.influxdata.com/u/Tram_Vu)\
**Replies:** 1\
**Last updated:** [May 3, 2023, 3:31pm UTC](https://community.influxdata.com/t/lost-connection-to-influx-client-library-python/29683 "2023-05-03T15:31:28Z")

</div>

I got this notification when trying to create data from Python CLient library even though it succeeded the first 2 times.

---

## [Python reading response codes](https://community.influxdata.com/t/python-reading-response-codes/28929)

<div class="topic-metadata">

**Author:** [@olliecampbell](https://community.influxdata.com/u/olliecampbell)\
**Replies:** 2\
**Last updated:** [March 6, 2023, 4:33pm UTC](https://community.influxdata.com/t/python-reading-response-codes/28929 "2023-03-06T16:33:30Z")

</div>

Hi, I’m using Python to write data to an Influx db and have seen mention of being able to read response codes to check how successful the write is… The online docs don’t have it: https://influxdb-client.readthedocs.io…

[Next page](https://community.influxdata.com/tag/client-libraries/18.md?match_all_tags=true&page=1&tags%5B%5D=client-libraries)
