Every entity i put in dashboard is giving error

I tried to make a dashboard, but every entity i put in the .dash file is giving: The following errors occured when building your dashboard:

Dashboard has errors or is not found - check log for details

It does not matter i do it. with , on the end or without the ,