Continuous switching between rtk float and 3d dgps

Hello everyone i am working on neo m8p rtk gps custom built along with my custom made flight controller my problem is that my gps keeps on switching the status between rtk float and 3d dgps can’t able to troubleshoot what’s the problem is any insight will be really helpful