Grafana - Status: 500. Message: InfluxDB returned error: error parsing query: found FROM, expected identifier, string, number, bool at line 1, char 9

When I want to add a new “visualization”(pane) I suddenly get this error. Where to start investigating?

Duplicating a panel works well, but adding a new one throws the error.

I can’t click “+” after WHERE, then the browser locks.

I use POST:

The error:
Status: 500. Message: InfluxDB returned error: error parsing query: found FROM, expected identifier, string, number, bool at line 1, char 9