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

**URL:** <https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [April 13, 2020, 5:02am UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283 "2020-04-13T05:02:14Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![madeheaven20017y5](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@madeheaven20017y5](https://community.thunkable.com/u/madeheaven20017y5)\
**Post date:** [April 13, 2020, 5:02am UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283/1 "2020-04-13T05:02:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![cttricks](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cttricks/32/93678_2.png) [@cttricks](https://community.thunkable.com/u/cttricks)\
**Post date:** [April 13, 2020, 5:46am UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283/2 "2020-04-13T05:46:55Z")

</div>

> [@How to ask Great Questions](http://community.thunkable.com/t/how-to-ask-great-questions/1286):
>
> Here are a few things to consider before you create a new topic in the forum. Before you Ask Do a search of the forum to see if your question has already been asked. Check the [Thunkable Documentation](http://thunkable.com/explore/) to see if there’s an example you can use. Have you watched the [beginner tutorial videos](https://www.youtube.com/watch?v=hZ7z3t-98O0&list=PLB89L9PPGIrxmB3GZXaxjK3Pq2Crqp14A) on YouTube? Make sure you have a really descriptive topic title for your post. Creating A Helpful Topic Title Avoid using titles like, “my app is broken” or “HELP ME!!1!”, instead try to briefly describe the …

---

<div class="post-metadata">

**Author:** ![chloe.r.mediaxn](https://avatars.discourse-cdn.com/v4/letter/c/ecb155/32.png) [@chloe.r.mediaxn](https://community.thunkable.com/u/chloe.r.mediaxn)\
**Post date:** [August 11, 2022, 4:23am UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283/3 "2022-08-11T04:23:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [August 11, 2022, 9:20am UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283/4 "2022-08-11T09:20:32Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![finlitofficalpy11](https://avatars.discourse-cdn.com/v4/letter/f/c0e974/32.png) [@finlitofficalpy11](https://community.thunkable.com/u/finlitofficalpy11)\
**Post date:** [August 11, 2022, 9:06pm UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283/5 "2022-08-11T21:06:55Z")

</div>

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.

 ![Screen Shot 2022-08-12 at 6.58.41 am](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/6/165af6398471f30a3b32398f46e71a0bc75aad32.png)  
 ![Screen Shot 2022-08-12 at 6.59.53 am](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/6/a6fd5c42591fa1fdf5f3d42f7dffcaaf68f44778.png)

---

<div class="post-metadata">

**Author:** ![zander](https://avatars.discourse-cdn.com/v4/letter/z/ecb155/32.png) [@zander](https://community.thunkable.com/u/zander)\
**Post date:** [August 12, 2022, 12:10am UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283/6 "2022-08-12T00:10:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![chloe.r.mediaxn](https://avatars.discourse-cdn.com/v4/letter/c/ecb155/32.png) [@chloe.r.mediaxn](https://community.thunkable.com/u/chloe.r.mediaxn)\
**Post date:** [August 12, 2022, 12:32am UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283/7 "2022-08-12T00:32:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![zander](https://avatars.discourse-cdn.com/v4/letter/z/ecb155/32.png) [@zander](https://community.thunkable.com/u/zander)\
**Post date:** [August 12, 2022, 12:49am UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283/8 "2022-08-12T00:49:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [August 12, 2022, 12:53am UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283/9 "2022-08-12T00:53:43Z")

</div>

Hey there @chloe.r.mediaxn

What email are you using to signup with?

Pls try [j@j.com](mailto: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.

---

<div class="post-metadata">

**Author:** ![chloe.r.mediaxn](https://avatars.discourse-cdn.com/v4/letter/c/ecb155/32.png) [@chloe.r.mediaxn](https://community.thunkable.com/u/chloe.r.mediaxn)\
**Post date:** [August 12, 2022, 1:28am UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283/10 "2022-08-12T01:28:38Z")

</div>

Hi I have added firebase and the emails I have signed up they s seem to be reflected in the firebase database  
 ![firebasae](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/f/1f425c3f86b909e492346945c192fa21c2adeb6c.png)

 ![J@J](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/8/38fafd322730ee9683af82fdee596741af7b9c5e.png)

---

<div class="post-metadata">

**Author:** ![zander](https://avatars.discourse-cdn.com/v4/letter/z/ecb155/32.png) [@zander](https://community.thunkable.com/u/zander)\
**Post date:** [August 12, 2022, 2:19am UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283/11 "2022-08-12T02:19:53Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![chloe.r.mediaxn](https://avatars.discourse-cdn.com/v4/letter/c/ecb155/32.png) [@chloe.r.mediaxn](https://community.thunkable.com/u/chloe.r.mediaxn)\
**Post date:** [August 12, 2022, 2:32am UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283/12 "2022-08-12T02:32:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![zander](https://avatars.discourse-cdn.com/v4/letter/z/ecb155/32.png) [@zander](https://community.thunkable.com/u/zander)\
**Post date:** [August 12, 2022, 3:56am UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283/13 "2022-08-12T03:56:10Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![chloe.r.mediaxn](https://avatars.discourse-cdn.com/v4/letter/c/ecb155/32.png) [@chloe.r.mediaxn](https://community.thunkable.com/u/chloe.r.mediaxn)\
**Post date:** [August 12, 2022, 4:07am UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283/14 "2022-08-12T04:07:20Z")

</div>

Thanks Zander [Thunkable](https://x.thunkable.com/copy/f52750e9f50d856c546f3106bf67689b)

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 12, 2022, 7:41am UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283/15 "2022-08-12T07:41:41Z")

</div>

@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](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/2/92f2016437b6c15db75cc7a6193e3225874b9617.png)

---

<div class="post-metadata">

**Author:** ![chloe.r.mediaxn](https://avatars.discourse-cdn.com/v4/letter/c/ecb155/32.png) [@chloe.r.mediaxn](https://community.thunkable.com/u/chloe.r.mediaxn)\
**Post date:** [August 12, 2022, 8:52am UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283/16 "2022-08-12T08:52:36Z")

</div>

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

 ![Screen Shot 2022-08-12 at 6.51.57 pm.png](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/b/0b37deb61e2d396e8ece2342b3532970ae3e3afa.png)

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 12, 2022, 10:10am UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283/17 "2022-08-12T10:10:38Z")

</div>

> [@chloe.r.mediaxn](#):
>
> getting the same error message

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](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/f/1f2201061e62020599b0a2e5cf92306c1e7eff8b.png)

* * *

Happy Thunking!

---

<div class="post-metadata">

**Author:** ![chloe.r.mediaxn](https://avatars.discourse-cdn.com/v4/letter/c/ecb155/32.png) [@chloe.r.mediaxn](https://community.thunkable.com/u/chloe.r.mediaxn)\
**Post date:** [August 12, 2022, 11:02am UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283/18 "2022-08-12T11:02:35Z")

</div>

Thank you it’s working now!

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:39am UTC](https://community.thunkable.com/t/how-can-i-avoid-the-email-address-is-badly-formatted-when-using-firebase/563283/19 "2024-11-08T11:39:08Z")

</div>


