I don’t know this python script, I have no idea what’s going on under the hood …
Yes, theoretically, the line looks ok.
The scientific notation still looks a bit strange?
I think I read somewhere recently that flux doesn’t (yet?) support float scientific notation numbers, despite that example in the doco .
I’m not in front of my pc to test it myself, but to prove it, try converting a few line records manually to the equivalent float number and see if they insert successfully
I just saw you mention your on 1.x still, suggest starting on migration and upgrade planning soon to 2.x, as 1.x probably won’t get any further version updates, other than critical bug fixes.
I can’t comment on the rest api differences with 1.x either, but they should be similar with 2.x
Assuming that 204 is a valid status code, this query will always fail.
I suspect this is a holdover from Python 2 days that no longer works that way under Python 3.