Influxdb write failed, err: invalid precision; valid precision units are ns, us, ms, and s

when I’m trying to save data into influx using line protocol, I met this error:
influxdb write failed, err: invalid precision; valid precision units are ns, us, ms, and s

the url I’m using is:

http://localhost:8086/api/v2/write?org=my-org&bucket=my-bucket&precision=m

so v2 doesn’t support precision in minutes?

Well, that’s exactly what it says, doesn’t it?
It is also documented here: InfluxDB v2.1 API documentation

Many thanks! Actually the document read this precisely. I’m trying to use ‘m’ because our data is sampled in minute level and scott says once that using ‘m’ as precision may improve performance.

And it’s confirmed later by scott, that no matter what precision we provided, influxdb always save time in nanoseconds precision, so it doesn’t matter which precision we given.