How can I avoid “The email address is badly formatted” when using Firebase?

hi, i was create sign up page follow by youtube thunkable step, went i want to run my page its say ‘the email address is badly formatted’.i have been research but i dont how to fix it. help me, i need to submit by tomorrow

1 Like
2 Likes

Hi I have read and watched every tutorial available and I can’t figure it out!

What are you trying to do and what is/is not working?

Hi Tatiang,

I have been able to create a login successfully & its recording in google sheets but every time I log in I get the error.

Please see the login details below.


Do you have a @gmail.com or @something.com email? If not it will reject it and give you that error

Yeah I have tried with various gmail accounts and that’s the error

Have you added in your firebase key and such? Also set up your firebase account to allow sign ups?

Hey there @chloe.r.mediaxn

What email are you using to signup with?

Pls try j@j.com with password 111111

I signed up for an account with one of my test projects using those credentials. I’m sure they’re valid for a default Firebase project.

1 Like

Hi I have added firebase and the emails I have signed up they s seem to be reflected in the firebase database
firebasae

So I just saw, you are calling sign in not sign up. go to the sign up page and try that instead

I did it successfully gets signed up - its just when you log in

Can you link your project? I will see if i can help debug

1 Like

Thanks Zander Thunkable

@chloe.r.mediaxn

Of course this will fail. You are storing the password in the stored email variable

So you will always get a badly formatted email message.

image

1 Like

Hi I have fixed this and I am still getting the same error message

2 Likes

You need to fix the code in both Sign In and Sign Up screens and you also need to set the stored variable to NULL so it can be updated.

[Update]
Just noticed another mistake
image


Happy Thunking!

2 Likes

Thank you it’s working now!

2 Likes