"Could not communicate with Google home mini" error

Problem I am using google home mini for a quite long time connected to my Android phone. All of a sudden my google home app started giving this error. "Could not communicate with Google home mini". The device was visible when the app was searching for devices. I also have a Chrome-cast connected in the same WiFi network which was working fine. Solution worked for me Factory reset Google home mini. There is a small push button at the bottom. Push and hold it until you hear the instructions. The device will ensure whether you really want to factory reset the device. Just continue pressing it to factory reset. I reinstalled Google home app in my android device. But I think it is not necessary. Solution that didn't work for me https://www.reddit.com/r/googlehome/comments/768ruu/for_anyone_with_the_could_not_communicate_with/