# If there's a duplicate nickname in the database, I'd like to make an error

**URL:** <https://community.thunkable.com/t/if-theres-a-duplicate-nickname-in-the-database-id-like-to-make-an-error/1745046>\
**Category:** Questions about Thunkable X\
**Created:** [February 21, 2022, 1:38am UTC](https://community.thunkable.com/t/if-theres-a-duplicate-nickname-in-the-database-id-like-to-make-an-error/1745046 "2022-02-21T01:38:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![qortmd3592st](https://avatars.discourse-cdn.com/v4/letter/q/d07c76/32.png) [@qortmd3592st](https://community.thunkable.com/u/qortmd3592st)\
**Post date:** [February 21, 2022, 1:38am UTC](https://community.thunkable.com/t/if-theres-a-duplicate-nickname-in-the-database-id-like-to-make-an-error/1745046/1 "2022-02-21T01:38:27Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/8/d8372d432577885b34ebadaa6cba5b27da1d9797.png)

After making an ID, it’s successful to set up a nickname.

However, I want to make an error if the nicknames overlap when setting the nickname.

If the nicknames overlap, the account will be overwritten.

I’m Korean, so I used a translator.

The green circle is the ID and password, and the red circle is the nickname.

I desperately need help. I ask for your help. plzzzzz

---

<div class="post-metadata">

**Author:** ![qortmd3592st](https://avatars.discourse-cdn.com/v4/letter/q/d07c76/32.png) [@qortmd3592st](https://community.thunkable.com/u/qortmd3592st)\
**Post date:** [February 21, 2022, 2:53am UTC](https://community.thunkable.com/t/if-theres-a-duplicate-nickname-in-the-database-id-like-to-make-an-error/1745046/2 "2022-02-21T02:53:18Z")

</div>

I think I can fill in this blank. How should I fill it up?

---

<div class="post-metadata">

**Author:** ![qortmd3592st](https://avatars.discourse-cdn.com/v4/letter/q/d07c76/32.png) [@qortmd3592st](https://community.thunkable.com/u/qortmd3592st)\
**Post date:** [February 21, 2022, 2:58am UTC](https://community.thunkable.com/t/if-theres-a-duplicate-nickname-in-the-database-id-like-to-make-an-error/1745046/3 "2022-02-21T02:58:05Z")

</div>

![ff](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/1/31c2e0cf363666d3c5e3994461e0a4a7a0c19417.png)

---

<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:** [February 21, 2022, 3:57am UTC](https://community.thunkable.com/t/if-theres-a-duplicate-nickname-in-the-database-id-like-to-make-an-error/1745046/4 "2022-02-21T03:57:55Z")

</div>

Take a look at the way the cloud variables are set up in these topics:

> [@\[Solved\] How to take nested value from FIrebase](https://community.thunkable.com/t/solved-how-to-take-nested-value-from-firebase/1035323):
>
> How can I take this value from firebase as a list to show it in a list viewer [image] [image] This is not working arrow_up

> [@\[Solved\] How to update nested Firebase value?](https://community.thunkable.com/t/solved-how-to-update-nested-firebase-value/1019758):
>
> I’m wondering how to update a nested Firebase value without the Realtime\_DB component. For example, how would I set the value of game data–\>Players–\>Guest–\>Name below? I know how to create that object but… do I just create the object all over again when I want to update the value? [Screen Shot 2020-12-03 at 11.47.32 PM] This is what I had in mind but it won’t work for obvious reasons:

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [May 22, 2022, 3:58am UTC](https://community.thunkable.com/t/if-theres-a-duplicate-nickname-in-the-database-id-like-to-make-an-error/1745046/5 "2022-05-22T03:58:32Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
