‘Request time out’ when insert data to influxdb

Hello guys
i'm trying to insert my data from sensor to influxdb, i parse the data using function like this
image

but i always get this error
image

Could you explain how you came to this way of sending a message ?

i take the data from my sensor and send it by mqtt broker, now i want to save this data to influxdb

Yes understood. How did you come up with the code in the function node ?

I saw code like that on the internet, or do i need to change the code?