Query failure

I have a problem with running some queries. I get this error lately and KPIs dont appear on dashboards. Any ideas why?

If you navigate to Admin Settings > Databases and run Sync database schema now are you still successfully connected to your db?

If so, I'd check that the database user can run a query outside of Metabase to make sure the issue isn't related to user permissions or an expired password.