Hi.
I tried the JS client library, @influxdata/influxdb3-client. I found that it uses v2 api in client.write(). But I could not find a way to write successfully with a resource token defined for the database. The code is very simple. It is something like the following.
await client.write(line, database, “”, { precision: “ms”});
The token is specified when client is initialized. This works with the admin token. I tried v3 api with a resource token by using curl, which was successful. Therefore, setting about the token should be correct. The server version is influxdb3 3.8.0 of Enterprise at-home.
If there’s a way to exec client.write() successfully with a resource token, let me know.
Thanks in advance.
