Insert json file data into influxdb 2.2

Hey everyone,
i’m having an issue with inserting data to influxdb2.2.
I’m using the InfluxDBClient to help me write my data in my localhost influxdb v2.
I can get the data , but i have an error when i try to write it with " KeyError: ‘measurement’ ".
Can someone help me fix this, or help me understanding how i can resolve it?
I can even generate a json file for my data but i don’t know how to insert it to local host influxdb.

Hi @Mehdi,

thanks for using our client.

How looks your points structure?