How to fix INTERNAL: Internal error occurred in Firebase | DevErrors