Passing variables or params in influxdb 2 query

Hi,

I am trying to pass chipID as a VARIABLE to query influxdb as shown below but gives error. Could anyone help me on this.
Query:
image

I get the chipid in the payload as shown below, but the influx node throws error

Is there any mistake in the query, the way i pass the variable

Hi @Steve-Mcl,

It would be great if you can help here.

Thanks,
Neeta

template literals are not the same as mustache

image


PS, in future, to save us from editing images, please post your code as code


CANNED TEXT...

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```)

``` 
   code goes here 
```

You can edit and correct your post by clicking the pencil :pencil2: icon.

See this post for more details - How to share code or flow json

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.