# Supabase Fetch Data Error : Cannot read properties of null (reading 'from')

**URL:** <https://community.weweb.io/t/supabase-fetch-data-error-cannot-read-properties-of-null-reading-from/18250>\
**Category:** How do I?\
**Tags:** supabase\
**Created:** [May 13, 2025, 9:47am UTC](https://community.weweb.io/t/supabase-fetch-data-error-cannot-read-properties-of-null-reading-from/18250 "2025-05-13T09:47:14Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![banapresso](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@banapresso](https://community.weweb.io/u/banapresso)\
**Post date:** [May 13, 2025, 9:47am UTC](https://community.weweb.io/t/supabase-fetch-data-error-cannot-read-properties-of-null-reading-from/18250/1 "2025-05-13T09:47:14Z")

</div>

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

message: “Cannot read properties of null (reading ‘from’)”

An error occurred while fetching data table in the supbase.

When I restart the supbase project, the data is loaded and the same error occurs again soon.

Load All fields when loading data.  
An error occurs from the Query configuration stage.

I would appreciate it if you could let me know the cause of the error and how to resolve it.

---

<div class="post-metadata">

**Author:** ![DanielL](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/daniell/32/13398_2.png) [@DanielL](https://community.weweb.io/u/DanielL)\
**Post date:** [May 13, 2025, 9:51am UTC](https://community.weweb.io/t/supabase-fetch-data-error-cannot-read-properties-of-null-reading-from/18250/2 "2025-05-13T09:51:40Z")

</div>

Hi @banapresso

Are you able to query that table with curl or postman? Is the plugin set up properly?

---

<div class="post-metadata">

**Author:** ![banapresso](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@banapresso](https://community.weweb.io/u/banapresso)\
**Post date:** [May 13, 2025, 10:06am UTC](https://community.weweb.io/t/supabase-fetch-data-error-cannot-read-properties-of-null-reading-from/18250/3 "2025-05-13T10:06:30Z")

</div>

Thank you for leaving a reply.

Queries using curl or postman work normally.

It works well in a deployment environment, but the above error occurs in an editing environment.

---

<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:** [May 13, 2025, 10:52am UTC](https://community.weweb.io/t/supabase-fetch-data-error-cannot-read-properties-of-null-reading-from/18250/4 "2025-05-13T10:52:14Z")

</div>

I think this is more of a front-end error. Not a network issue. It seems like the supabase instance is not present (null) at the moment of the execution - judging from the message, but I might be wrong.

---

<div class="post-metadata">

**Author:** ![DanielL](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/daniell/32/13398_2.png) [@DanielL](https://community.weweb.io/u/DanielL)\
**Post date:** [May 13, 2025, 10:56am UTC](https://community.weweb.io/t/supabase-fetch-data-error-cannot-read-properties-of-null-reading-from/18250/5 "2025-05-13T10:56:27Z")

</div>

@banapresso Are you getting this error with all collections/tables or just one specific table?

---

<div class="post-metadata">

**Author:** ![Himanshu](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/himanshu/32/16305_2.png) [@Himanshu](https://community.weweb.io/u/Himanshu)\
**Post date:** [May 13, 2025, 7:29pm UTC](https://community.weweb.io/t/supabase-fetch-data-error-cannot-read-properties-of-null-reading-from/18250/6 "2025-05-13T19:29:01Z")

</div>

Getting this in multiple collections. Have to refresh the page multiple times.

Sometimes, the plugin clears the table selection, and I must click the refresh icon in the collection settings.

---

<div class="post-metadata">

**Author:** ![what.gift](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/what.gift/32/8069_2.png) [@what.gift](https://community.weweb.io/u/what.gift)\
**Post date:** [May 13, 2025, 9:05pm UTC](https://community.weweb.io/t/supabase-fetch-data-error-cannot-read-properties-of-null-reading-from/18250/7 "2025-05-13T21:05:16Z")

</div>

Most of my roadblocks with Supabase are usually RLS based. Especially if you’re using Joins, FK’s with multiple tables as correct RLS needs to be setup across all tables.

Are you using Authentication in some way? Occurs “soon” again could be related to a session issue. Is a action or variable restricted behind that which is getting blocked? Because you’ve got a “null” value, there’s data missing.

It it works in prod and not editior, have you tried checking and comparing the network requests in the browser inspect tool? I find that really useful and only recently realised how useful it is as there can be ambiguity with filters and seeing the actual query weweb fires off helps debugging.

---

<div class="post-metadata">

**Author:** ![joseph](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joseph/32/11340_2.png) [@joseph](https://community.weweb.io/u/joseph)\
**Post date:** [May 16, 2025, 5:17pm UTC](https://community.weweb.io/t/supabase-fetch-data-error-cannot-read-properties-of-null-reading-from/18250/8 "2025-05-16T17:17:29Z")

</div>

> [@what.gift](#):
>
> Most of my roadblocks with Supabase are usually RLS based. Especially if you’re using Joins, FK’s with multiple tables as correct RLS needs to be setup across all tables.

Yup! I love Supabase’s easy way to impersonate a user. I have multiple personas so when I have an issue with the backend, my first test is to go to the CLI and impersonate that specific user.

---

<div class="post-metadata">

**Author:** ![felixtj](https://avatars.discourse-cdn.com/v4/letter/f/49beb7/32.png) [@felixtj](https://community.weweb.io/u/felixtj)\
**Post date:** [June 11, 2025, 11:29pm UTC](https://community.weweb.io/t/supabase-fetch-data-error-cannot-read-properties-of-null-reading-from/18250/9 "2025-06-11T23:29:52Z")

</div>

Hi, did you get it fix? i have the same issue.

---

<div class="post-metadata">

**Author:** ![DanielL](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/daniell/32/13398_2.png) [@DanielL](https://community.weweb.io/u/DanielL)\
**Post date:** [June 12, 2025, 4:46am UTC](https://community.weweb.io/t/supabase-fetch-data-error-cannot-read-properties-of-null-reading-from/18250/10 "2025-06-12T04:46:19Z")

</div>

Hi everyone, we have seen reports regarding this issue. We are not quite sure yet why it happens, but it looks like a temporary issue. Reconnecting your Supabase account to the plugin settings seems to fix it. Let me know if you are still stuck! Thanks

---

<div class="post-metadata">

**Author:** ![joseph](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joseph/32/11340_2.png) [@joseph](https://community.weweb.io/u/joseph)\
**Post date:** [June 12, 2025, 2:22pm UTC](https://community.weweb.io/t/supabase-fetch-data-error-cannot-read-properties-of-null-reading-from/18250/11 "2025-06-12T14:22:04Z")

</div>

I wanted to mention that I’ve seen this popup two or three times. I believe I either reloaded the page or it connected after a few seconds.
