Runtime Error : Given String is empty or null

Look here I had defined when sign in clicked on to open Google Sign in

I think here it says that it will store value from get name variable, it doesn’t meant it is declared,

Look 1st block
when signin click
do call Firebase_Authentication1.GoogleSign In

here is it declared to do when clicked on sign in??

You can see you used get name blocks which Wii return the value in it. To declare variable use the block named “set get name to”
As you didn’t declared it passed empty value which invoke error

I can give u .aia file
will u correct it for me please ???

Sorry for that currently I have my schools a lot of burden…

Here you have not declared it ,
To declare variable use set get name to block

here is it declared to do when clicked on sign in??

No bro it’s not, to verify it you can find a block which says that “set get name to” as you don’t have any kind of this block it mean you haven’t declared it


when I’m clicking on down arrow it’s not showing any drop down list what to do??

Oh what I see is it’s not global variable it’s your firebase local variable

1 Like

The problem is that your firebase cannot return the value of “get name” or if it do it do it empty

then what I should do??

Can I get ur contact number ?
I’m from Mirzapur, Uttar Pradesh, India.

You must check that do you have Name of users in you firebase data base???

This database file I have imported from json file download from project setting option of firebase.

is it ??
@Deepanshu_Arya

is it what u trying to say ?? help please

Is this set name a global variable??

no i picked it from ““firebase after login success block””

What the actual problem I think is that the variable name in firebase login successful block is empty

but if we sign through google, it uploads name, email, profile everything and store in firebase ? right ? so the name must be there and should i try to get email instead of name ?