Is the error appearing when you run the query to interrogate the database?
What are you expecting to be written to the database when you give it that data? If you read the help text for the influxdb out node you will see that that data will cause the string "pluto" to be written, which I suspect is not what you want.
hello Colin
i think this solved by taking away the last 2 rows of code in the query still testing i don't think i'm the one who can give solution here, maybe someone else with more skill can say if i did rght
Ok, so for the example you were in fact attempting to write "pluto", in which case that is ok.
The error you were getting was telling you that you were trying to take the mean value of a set of strings (containing "pluto" for example) which obviously you can't do. For string type fields all you can do is read them as a set of records.
Try excluding the |> aggregateWindow function in your Flux Query. Apparently the column of your value is not of type number (which can be aggregated) its rather of type string (which can't be aggregated).