How to disable grafana error toasts on production

Hello, I have some panels embedded on my website, and sometimes I got errors like this

But the chart it’s loaded and everything works fine, does anyone know how can I disable this errors while I’m in production.

I set this variable to production, but nothing happened.
image