Supabase table editor internal errors after AI assistant security invoker revert on a view
I made some changes with the supabase AI assistant, and tl;dr is that my users table is working but in the table editor, completely malfunctional.
I have a users table, with a public view for the non-private detail that needs to be visible to anon users.
I created this view with the following SQL provided below:
This was my first time using a view instead of just tables, and after running this, there was a button which prompted me to enable the security invoker, an autofix. I clicked this, which broke most of my code, so I asked the supabase AI assistant to revert it, which it 'succesfully did'. However, this makes the users table page inoperable.
1 Reply
The browser console of the supabase page itself: main-34abffbb28aa5c54.js?dpl=dpl_2jUL7iXF73zCBuCQUkNePzVNKcUJ:18 [Warning] Please install/enable Redux devtools extension
(anonymous) @ main-34abffbb28aa5c54.js?dpl=dpl_2jUL7iXF73zCBuCQUkNePzVNKcUJ:18
main-34abffbb28aa5c54.js?dpl=dpl_2jUL7iXF73zCBuCQUkNePzVNKcUJ:18 Supabase Studio is running commit 977b867bef6819077c7c306f3d4c07ac0557d9ab deployed at 2025-10-25 14:17:19 +02:00.
main-34abffbb28aa5c54.js?dpl=dpl_2jUL7iXF73zCBuCQUkNePzVNKcUJ:18 ConfigCat - WARN - [3003] Cannot evaluate condition (User.Email IS ONE OF [<1 hashed value>]) for setting 'enablePgReplicate' (the User.Email attribute is missing). You should set the User.Email attribute in order to make targeting work properly. Read more: https://configcat.com/docs/advanced/user-object/
(anonymous) @ main-34abffbb28aa5c54.js?dpl=dpl_2jUL7iXF73zCBuCQUkNePzVNKcUJ:18
main-34abffbb28aa5c54.js?dpl=dpl_2jUL7iXF73zCBuCQUkNePzVNKcUJ:18 ConfigCat - WARN - [3003] Cannot evaluate condition (User.Email IS ONE OF [<1 hashed value>]) for setting 'enablePgReplicate' (the User.Email attribute is missing). You should set the User.Email attribute in order to make targeting work properly. Read more: https://configcat.com/docs/advanced/user-object/
(anonymous) @ main-34abffbb28aa5c54.js?dpl=dpl_2jUL7iXF73zCBuCQUkNePzVNKcUJ:18
With the following error:
api.supabase.com/platform/pg-meta/isxxnbpuoziuipryikkk/policies?included_schemas=&excluded_schemas=:1 Failed to load resource: the server responded with a status of 500 ()
After 15-30 seconds, it shows this timeout error:
22837?schema=public&sort=created_at%3Adesc&sort=updated_at%3Aasc:1 Access to fetch at 'https://api.supabase.com/platform/pg-meta/isxxnbpuoziuipryikkk/query?key=table-rows-count-22837' from origin 'https://supabase.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
main-34abffbb28aa5c54.js?dpl=dpl_2jUL7iXF73zCBuCQUkNePzVNKcUJ:18 POST https://api.supabase.com/platform/pg-meta/isxxnbpuoziuipryikkk/query?key=table-rows-count-22837 net::ERR_FAILED 504 (Gateway Timeout)
(anonymous) @ main-34abffbb28aa5c54.js?dpl=dpl_2jUL7iXF73zCBuCQUkNePzVNKcUJ:18
...
Detail explanation of reproducing errors:
1. Navigate to table editor of users table of project isxxnbpuoziuipryikkk
2. Try sorting any columns --> it won't do anything
Notable info:
This seems to only be happening sometimes, and it's not clear when
User account attached to Github: LouisVanh / email: vanhovelouis123@gmail.com