'"error parsing query: found %, expected identifier, string, number, bool at line 1, char 7"}

When I try to parse this query in influxDB from python, I get this error.

{"error":"error parsing query: found %, expected identifier, string, number, bool at line 1, char 7"}

How do I resolve this issue?

Here’s my query:

data ='q=select "time","T(C)","RH(\%)" from PM_histo WHERE time >= \'2022-05-04T11:00:00Z\' and time <= \'2022-05-04T11:10:00Z\' order by time asc'

I tried also with escape character but same error occurs

Please see below the json

1



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source