An unexpected error happened

Im using postgres and a pie chart to visualize the content.

In the middle of editing the postgresql select statement I got a black screen and the message “An unexpected error happened”. Sometimes I have no chance to save the current state.

The error seems only to happen when I’m using the PIE chart.

Grafana v7.1.3.
Pie Chart v1.6.0

hello Team,
Me too facing the same issue.


I was able to fix it.
I’m using my own sql select statements to query the postgresql database, not the build in editor.

I’m uisng “format as table” and I need a colum in the select statement that shows like that: ‘now() as time’

This tutorial was a great help :