Worked fine but slowly the flap began to malfunction

I have had this doggie door since march 2019. It was fine, yet slowly but surely the flap began to not close correctly. As of now, it doesn't really close at all!!

###

