1

I am querying InfluxDB by bucket name and with a range and I got this error: "code":"invalid","message":"error @1:56-1:57: undefined identifier r\\n\\nerror @1:53-1:57: invalid binary operator \\u003cINVALID_OP\\u003e"}' from the following request:

client.query_api().query(query='from(bucket:"bucket_name") |> range(start: -1hr)')

1 Answer 1

1

Turns out that the response error is a roundabout way of saying that you should use 1h instead of 1hr. Be careful with your time range formats and it will hopefully save you some time

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.