# Supabase Sign Up metadata is empty

**URL:** <https://community.weweb.io/t/supabase-sign-up-metadata-is-empty/2638>\
**Category:** How do I?\
**Tags:** authentication, supabase\
**Created:** [May 9, 2023, 1:12pm UTC](https://community.weweb.io/t/supabase-sign-up-metadata-is-empty/2638 "2023-05-09T13:12:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![nekitonn](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@nekitonn](https://community.weweb.io/u/nekitonn)\
**Post date:** [May 9, 2023, 1:12pm UTC](https://community.weweb.io/t/supabase-sign-up-metadata-is-empty/2638/1 "2023-05-09T13:12:04Z")

</div>

I’m trying to add a custom metadata on users Sign up action.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/9/95809be9e14f2b293499cb0a726de3d76568836e.png)

But when I test the Sign Up, data is empty in the request payload as well as in auth.users table (raw\_user\_meta\_data column)  
{  
“email”: “[xxx@gmail.com](mailto:xxx@gmail.com)”,  
“password”: “1qwerty7”,  
“data”: {},  
“gotrue\_meta\_security”: {}  
}  
What can be the problem?

---

<div class="post-metadata">

**Author:** ![nekitonn](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@nekitonn](https://community.weweb.io/u/nekitonn)\
**Post date:** [May 15, 2023, 8:34am UTC](https://community.weweb.io/t/supabase-sign-up-metadata-is-empty/2638/2 "2023-05-15T08:34:20Z")

</div>

@Quentin  
Hi! Can you help with this?

---

<div class="post-metadata">

**Author:** ![Quentin](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/quentin/32/6_2.png) [@Quentin](https://community.weweb.io/u/Quentin)\
**Post date:** [May 15, 2023, 9:23am UTC](https://community.weweb.io/t/supabase-sign-up-metadata-is-empty/2638/3 "2023-05-15T09:23:20Z")

</div>

Could you report it to [support.weweb.io](https://support.weweb.io/) ? We’ll fix the issue asap!

---

<div class="post-metadata">

**Author:** ![nekitonn](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@nekitonn](https://community.weweb.io/u/nekitonn)\
**Post date:** [May 15, 2023, 10:54am UTC](https://community.weweb.io/t/supabase-sign-up-metadata-is-empty/2638/4 "2023-05-15T10:54:31Z")

</div>

I have it here for almost a week already ☹

> **[WeWeb - Support](https://support.weweb.io/ticket/K3Z7rtzjipU32E/)**
>
> Report a bug or ask a question to the WeWeb Team

---

<div class="post-metadata">

**Author:** ![nekitonn](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@nekitonn](https://community.weweb.io/u/nekitonn)\
**Post date:** [May 15, 2023, 7:15pm UTC](https://community.weweb.io/t/supabase-sign-up-metadata-is-empty/2638/5 "2023-05-15T19:15:22Z")

</div>

That you for helping with solution.  
Solution:

> If you bind it you have to return an array with an object containing {key: ‘referral’, value: referral\_id}

---

<div class="post-metadata">

**Author:** ![Ewerton](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/ewerton/32/6401_2.png) [@Ewerton](https://community.weweb.io/u/Ewerton)\
**Post date:** [June 20, 2023, 10:29pm UTC](https://community.weweb.io/t/supabase-sign-up-metadata-is-empty/2638/6 "2023-06-20T22:29:39Z")

</div>

Hi @nekitonn,

This works with a single value. How did you enter more values?

thanks

---

<div class="post-metadata">

**Author:** ![nekitonn](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@nekitonn](https://community.weweb.io/u/nekitonn)\
**Post date:** [June 20, 2023, 11:18pm UTC](https://community.weweb.io/t/supabase-sign-up-metadata-is-empty/2638/7 "2023-06-20T23:18:10Z")

</div>

I guess you can pass an array with multiple objects:  
[  
{key: ‘referral’, value: referral\_id},  
{key: ‘referral’, value: referral\_id}  
]

---

<div class="post-metadata">

**Author:** ![Ewerton](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/ewerton/32/6401_2.png) [@Ewerton](https://community.weweb.io/u/Ewerton)\
**Post date:** [June 20, 2023, 11:53pm UTC](https://community.weweb.io/t/supabase-sign-up-metadata-is-empty/2638/8 "2023-06-20T23:53:41Z")

</div>

I tried like this. It pops up both objects at formula time, but only saves one of them.

I will keep trying. Thanks for the answer
