# Stuck on Supabase error?

**URL:** <https://community.weweb.io/t/stuck-on-supabase-error/4301>\
**Category:** Ask us anything\
**Created:** [September 12, 2023, 7:36am UTC](https://community.weweb.io/t/stuck-on-supabase-error/4301 "2023-09-12T07:36:28Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [September 12, 2023, 7:36am UTC](https://community.weweb.io/t/stuck-on-supabase-error/4301/1 "2023-09-12T07:36:28Z")

</div>

Hello, I’m kinda stuck on this error. I can’t find what could be missing.  
Still gives id undefined

 ![Screenshot 2023-09-12 at 09.35.10](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/4/4663f1708e9a2c840b5a61dfbe89d188939e595d.jpeg)

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [September 12, 2023, 7:38am UTC](https://community.weweb.io/t/stuck-on-supabase-error/4301/2 "2023-09-12T07:38:30Z")

</div>

![Screenshot 2023-09-12 at 09.38.21](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/7/7705e1d6d4198cf154afbe36de3f96a77113ac88.png)

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [September 12, 2023, 8:41am UTC](https://community.weweb.io/t/stuck-on-supabase-error/4301/3 "2023-09-12T08:41:56Z")

</div>

Any code in the formulas that uses an `id` property?

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [September 12, 2023, 8:45am UTC](https://community.weweb.io/t/stuck-on-supabase-error/4301/4 "2023-09-12T08:45:28Z")

</div>

This one is changed by a workflow on click way before, in fact it is already set up when I call the update.  
It changes the from\_id to context.item.id

 ![Screenshot 2023-09-12 at 10.44.30](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/c/cf95bf9dc028452f181e8a194cc317c27d16de05.jpeg)

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [September 12, 2023, 8:50am UTC](https://community.weweb.io/t/stuck-on-supabase-error/4301/5 "2023-09-12T08:50:52Z")

</div>

but what about the other values? The error hints that in the formulas some code is trying to access a property `id` on an object, but the object is actually `undefined`.

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [September 12, 2023, 8:53am UTC](https://community.weweb.io/t/stuck-on-supabase-error/4301/6 "2023-09-12T08:53:08Z")

</div>

Nothing referring to an ID, now is deprecated, but it doesnt work even without it, so I don’t think that’s a problem.

 ![Screenshot 2023-09-12 at 10.52.36](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/4/48237f83c49779cc8497e1807962904a3c003d2f.jpeg)  
 ![Screenshot 2023-09-12 at 10.52.33](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/8/807a134ad3685febac931e1d3b6dfa1f83b0ab8b.jpeg)  
 ![Screenshot 2023-09-12 at 10.52.29](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/a/aa3840f8dcfa293cbe63b6c00866623e315a6f5a.jpeg)

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [September 12, 2023, 8:54am UTC](https://community.weweb.io/t/stuck-on-supabase-error/4301/7 "2023-09-12T08:54:19Z")

</div>

The only thing that might be linked to an id value is the from\_id, via a workflow that changes it’s value.

 ![Screenshot 2023-09-12 at 10.54.09](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/c/c44cd6ab4a8b3d24601f16d813b38e906d5db7ce.jpeg)

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [September 12, 2023, 9:11am UTC](https://community.weweb.io/t/stuck-on-supabase-error/4301/8 "2023-09-12T09:11:06Z")

</div>

Even if I set the id in the update to a static id, it still gets an error. At this point I think it is a bug

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [September 12, 2023, 9:26am UTC](https://community.weweb.io/t/stuck-on-supabase-error/4301/9 "2023-09-12T09:26:39Z")

</div>

It looks like one. Out of curiosity, does it happen with realtime switched off for that table?

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [September 12, 2023, 9:31am UTC](https://community.weweb.io/t/stuck-on-supabase-error/4301/10 "2023-09-12T09:31:51Z")

</div>

Realtime is switched off by default. - I’m using the instance of supabase to init Realtime in the custom JS action

I found the bug and it’s super weird. I have an absolutely not related variable set on a whole different workflow - following an insert workflow action, it shouldnt be triggering even. Yet seems like it gets triggered. I’ve fixed it by checking for undefined. But still, is a bug.

 ![Screenshot 2023-09-12 at 11.31.22](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/3/39ce79cb03f351496d28c622b1d549e77ac9d745.png)

---

<div class="post-metadata">

**Author:** ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)\
**Post date:** [September 12, 2023, 9:35am UTC](https://community.weweb.io/t/stuck-on-supabase-error/4301/11 "2023-09-12T09:35:34Z")

</div>

This workflow is on click on a button and is executed when you’re doing something else ? Could you open a ticket on [support.weweb.io](http://support.weweb.io) and a way to reproduce please ?

So the issue concern this workflow and not supabase right ? The bug you identified is because this workflow is executed and should not ?

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [September 12, 2023, 9:37am UTC](https://community.weweb.io/t/stuck-on-supabase-error/4301/12 "2023-09-12T09:37:10Z")

</div>

I have two workflows,

1. Send message  
**Insert**  
… rest of the logic

2. Create conversation  
**Insert**  
… set id to result of insert

When I insert (send) the message, it seems to trigger the [… set id to result of insert]

Edit: Seems to me that it might be something related to the set variable. I’m not sure how you handle references, but that might be a clue.
