How to fix INVALID_ARGUMENT: The argument provided is invalid in Firebase | DevErrors