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.

Regards,
Yash

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 : https://medium.com/grafana-tutorials/graphing-non-time-series-sql-data-in-grafana-8a0ea8c55ee3