Influxdb error="authorization not found"

Hi I have a problem with Influxdb and Grafana.Wenn I run docker-compose up command I can connect to Influxdb and Grafana no problem.But wenn I reach the Dashboard in Grafana browser,I get this Error.

influxdb_1 | ts=2021-07-16T08:59:31.787508Z lvl=info msg=Unauthorized log_id=0VNcJWE0000 error=“authorization not found”
grafana_1 | t=2021-07-16T08:59:31+0000 lvl=warn msg=“Flux query failed” logger=tsdb.influx_flux err=“unauthorized: unauthorized access” query=“from(bucket: “temp”)\n |> range(start: 2021-07-16T08:54:31Z, stop: 2021-07-16T08:59:31Z)\n |> filter(fn: (r) => r[“robot”] == “1”)\n |> filter(fn: (r) => r[”_field"] == “RSRP” or r["_field"] == “x” or r["_field"] == “y”)\n |> aggregateWindow(every: 200ms, fn: last, createEmpty: false)\n |> yield(name: “last”)"

Hello @Joy,
Welcome! What does your compose file look like? Or what tutorial are you following?
Here’s what mine looks like for 2.x with telegraf and env var: