So here are my notes:
1- if devices upgrade to latest version while backend is not, backend refuses to update device status because of new VRRP feature, there should be a backword compatability for a period here.
2- If you upgrade to latest backend version or implement new one, new notification settings are not created, hence it gives error because creating new organization checks for New Notification Settings which doesn't exist after upgrade or new organization this stops creating new orgs and retriving devices.