How to resolve 'bad timestamp' when trying to insert data via API

I am trying to insert some data into InfluxDB v2.7.5 using API with postman.

I am trying to use this ex: Write data | Get started with InfluxDB | InfluxDB OSS v2 Documentation

This is my postman view

this is my postman raw data

home,room=Living\ Room temp=21.1,hum=35.9,co=0i 1641024000
home,room=Living\ Room temp=21.4,hum=35.9,co=0i 1641027600

How to resolve this?

Hello @vlatko_d
Can you try making your timestamp in nanosecond precision and leave off the precision?


Although thats very odd because I was able to write that line protocol. And you have second specified.
Can you share the resulting cURL request?

the thing is, when I try curl works fine

Only postman fails.

$ curl --location --request POST 'http://localhost:8086/api/v2/write?org=vlatko&bucket=get-started2&precision=s' \
--header 'Authorization: Token iOZwNwaU-d0WxAMHT0y-mPaLARPZKVw1xFW_kctmf6OXgJcILkn1ndMvwZjyskMQjizX_bH8W6SKvlxeGnTChA==' \
--header 'Content-Type: text/plain' \
--header 'Accept: application/json' \
--data-raw 'home,room=Kitchen temp=21.0,hum=35.9,co=0i 1641024000
home,room=Kitchen temp=23.0,hum=36.2,co=0i 1641027600
home,room=Kitchen temp=22.7,hum=36.5,co=26i 1641067200'

Adding zeros to the end does not helps