Supabase

S

Supabase

Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.

Join

Big delays since yesterday evening

Hello, since yesterday evening i'm noticing big delays when i use my NextJs app in Vercel. I was using the same queries for weeks but now the delays are very big. Sometimes it is ok, but most of the times it is very slow. I'm seeing some issues like "Transaction API error: Transaction not found. Transaction ID is invalid, refers to an old closed transaction Prisma doesn't have information about anymore, or was obtained before disconnecting." or "Transaction API error: Unable to start a transaction in the given time." My code didn't change. Is there an issue in general?...

Invalid API Key Next.js

Hello all, I'm trying to setup an 'invite by emai' function in my Next.js app with Supabase auth (admin) from @supabase-js but I keep getting the error: Error [AuthApiError]: Invalid API Key ...

Are NodeJS edge functions supported yet?

Deno has been a blocker for our team committing to edge functions. Are there plans to support Node?

How to approach upgrading a user and giving them more access/data?

I have two main user types: viewers (who can only view) and writers (who can view and post). Both share common fields, but writers have additional specialized fields. I also support anonymous users. The flow works like this: • A user starts as anonymous. • They can either stay anonymous or upgrade to viewer (with limited posting rights)....

Supabase realtime postgres changes, no payload. Doubting chat gpt fix.

This is the first time I am implementing postgres changes in my app. I checked the documentation and some videos and all they said I had to do was add this code after handling the RLS: const channelA = supabase .channel('schema-db-changes') .on(...

Why does my RPC function keep breaking?

I know the code works correctly. It works fine right after I push a new build, but over time, for some reason the RPC function just returns an empty dataset. Is there some kind of caching thing going on with supabase or something with these RPC functions?

Subject: Urgent - Storage quota exceeded, need temporary access for cleanup

Hello Supabase Support, Project ID: xgdvlkztnwpfvyifqxao Issue: Storage quota exceeded, entire service blocked ...

google oauth issue /#access_token=

Im having an issue that login with google with iOS & safari wont redirect to /dashboard/ On computer everything works fine. Any suggestions?...

Mistake with the sign up

I was trying to do a school project for one of my courses. The instructions said to login with SSO email but I did it with my Github account. Now, I tried to delete my account but it says its gonna do that in 30 days. I fear even if I do my work using this, I'll lose my work after 30 days. I reached out to the support team and instead of helping free users, they directed me here. PLEASE HELP!!!...

Please help me save the supabase password for the CLI

It keeps asking me for the password when I do things like supabase migrations list. How can I save it?

Hi help please unable to update Stripe secret key in Supabase keeps reverting back to old one.

Issue: "Secret key automatically reverting to incorrect value after being updated" Steps taken: Full browser reset, multiple attempts to update secret Impact: Cannot process payments due to incorrect Stripe key...

My dev branch just deleted automatically without any warning.

I have no idea why it happened, but I created dev branch and it worked fine for a while. When I checked today it was just gone with all the data. I've checked similar issue and stumbled on the thread about merging dev branch into main which resulted in automatic branch deletion in supabase so I have a suspicion that same may have happened to me as I remember I merged branched in github and while my dev branch in github is all alive and well, the one in supabase is gone. Do I have to explicitly set somwhere not to delete the branch when I merge it with main?...

Issue with Merging branches due to migration history purge in beginning

Hello guys! Going to describe the issue Im experiencing the best i can. For context, this is all vibe coded and I am not a dev by trade I had a project i built out on lovable + supabase. I then had to hand this off to some developers who implemented some features, which required me to switch off of lovable and instead fo Cursor + using more normal git workflow with github and the same Supabase...

Migration Supabase during auto-deployment on Vercel

Hi Supabase team, I’d like to know if there’s a way to automate database migrations during an auto-deployment on Vercel. In my project, I use the Supabase CLI locally within the same repository. Is it possible to trigger migrations automatically during deployment, or are there recommended practices for this workflow? Thanks in advance for your help!...

db pull revokes all privileges from auth and storage schema.

I've been trying for the past few weeks to create a local dev env for my existing supabase project. Auth and storage schemas have rls policies and triggers so I need to pull those too. When running supabase db pull --schema auth or --schema storage the generated migration files contain lot's of revoke statements that remove absolutely all permissions from all database users, leaving both schemas unusable. This revokes prevent the local project from starting, throwing the following error: Error status 400: {"statusCode":"403","error":"Unauthorized","message":"new row violates row-level security policy"} I have attached the generated migration for the auth schema, the same happens for storage. I haven't found much on google about it, the only hint I've got is from google's AI answers that says that all grants are revoked to later grant only the necessary privileges, but those grants are never generated....

Swift Auth SDK & Sign in with Apple Refresh Tokens

I've been going through implementing the token revocation for Sign in with Apple users when they manually delete their accounts from within my app (with accounts being created via Supabase Auth). I've created the necessary Edge Functions to accomplish this, but I'm having a hard time finding the correct accessToken & refreshToken from Apple in the Supabase Swift Auth SDK. It seems like when the Apple ID login session is created, the provider access tokens & refresh tokens are left as nil and the session's refresh and access tokens are actually for the new Supabase account (and so are rightly rejected by Apple when sent to them). I also don't seem to see where in the Supabase database the Apple ID's access tokens & refresh tokens are being stored in the auth table (I'm currently on a Free plan, so please let me know if this is possible to view but missing cause I haven't upgraded to Pro yet). I've also reviewed this very helpful thread, but it seems like with the Swift Auth SDK, the values are not the same as the SDK mentioned by the author in this post: https://github.com/supabase/auth/issues/1308#issuecomment-2752190623 Any help would be appreciated! Without it, it seems my only option would be to have users log in to their Apple ID again on Delete Account and use the one-time authorization code there to get new access tokens & refresh tokens so I can invalidate them, but that seems incredibly wasteful and a suboptimal user experience as Supabase should have the provider's refresh token somewhere....

Can not pause project

I manually paused a project yesterday but since 14 hours now it says "Project is pausing", nothing happens: On top of that I can not edit/delete or do anything else with this project. Of course it is still counted as an active project so I also can not start a new one. Any ideas ?...

Cannot see the "new policy" button in the storage objects section

I am new to development so maybe its something stupid but please help me out with this I am not sure what I did wrong I was just following a tutorial.
No description

Problems signing in

I build an app with login and registration. I built dummy-Mails via NordPass (nordvpn) Those mails are forwarded to my gmail account. I wanted to register in the app in loveable but i never receive any mails that are sent via supabase to those dummy mails. The adresses work. And if i use a gmail adress it works fine. Are the mask-Mails that i can use with nordpass XYZ@eagereverest.com blocked in supabase? what can i do. Any suggestions?

supportchat?

can we get a basic support chat or a community talk chat ? this say we can get live discussiosn rather then the silly forum type posts. if you want to fgrow a community it should be with live chat this way people feel more engaged and also anyone can help another member if they know in real time