Supabase

S

Supabase

Join the community to ask questions about Supabase and get answers from other members.

Join

Anonymous Sign in not working flutter

This is the error I keep getting:
flutter: AuthRetryableFetchException(message: {"code":"unexpected_failure","message":"Database error creating anonymous user"}, statusCode: 500)
flutter: AuthRetryableFetchException(message: {"code":"unexpected_failure","message":"Database error creating anonymous user"}, statusCode: 500)
...

Create migration failed with supabasse

I follow the supabase docs for prisma interaction, creating a user and set connection url to schema.prisma, but when I run prisma migrate dev, error happen: permission denied to terminate process. Detail: Only roles with privileges of the role whose process is being terminated or with privileges of the "pg_signal_backend" role may terminate this process

Is using range on RPC recommended?

Lets say I have a very large table and I am using a database function to query it like so: ```ts const { data, error, count } = await supabase .schema("repairs") .rpc("get_tickets", params, { count: "exact", head: false })...

Delete Lovable.dev access from Supabase

How can I remove lovable.dev access from my supabase? I deleted the project from lovable, but I still see that it's connected and can't be deleted from lovable.dev.

"451 Authentication failed: Maximum credits exceeded" error despite available email quota

Hey everyone! đź‘‹ Running into a weird issue on my Pro plan and wondering if anyone else has experienced this: Problem: Getting "451 Authentication failed: Maximum credits exceeded" errors when users try to sign up, but I'm only using 46/100,000 emails on my Pro plan (plenty of quota left)....

Prevent duplicate emails on sign-up

Hi folks! I'm looking for a way to prevent the client from allowing multiple sign-up emails to be sent if the previous token has not yet expired. Is there a way to detect confirmation_sent_at client-side? Alternatively am I overthinking this/is this good practice? Possibly related but didn't help: https://discord.com/channels/839993398554656828/1383015268288167957...

Error when signup and save data to profiles table

in my project, I am going to implement a multi-tenant feature. but when I signup as a student, I got this error in browser console. "there is no unique or exclusion constraint matching the ON CONFLICT specification" so the user data is saved correctly in auth.users table but did not save in public profiles table...
No description

how to config mcp for crush cli

I tried npx not working , the only work is "http" type Can I've it from supabase? yet?...

how do i fix the Unrestricted

I want it to be secure ofc, how can i do this
No description

I made 4 functions, how do I deploy them via the dashboard

admin-create-admin, admin-get-admins, admin-change-password, admin-delete-admin they are already in supabase/functions...

I cant delet one users in the Supabase dashboard and in my frontend

I wanted to delet a user in the authentication table. But for some reason it doesnt let me: Error code: -Failed to delete selected users: Database error loading user...

enum in FDW

I just connected my ClickHouse FDW. I have an enum column in ClickHouse. Getting this error: Error: Error fetching table rows: column data type 'Enum8('pageview' = 1,'click' = 2,'conversion' = 3)' is not supported...

Compare Construct

I tried migrating a supabase db to a supabase db using compare construct in datagrip. However, this wiped out all proper roles (i'm assuming) and made the db unusable thru supabase. Is there a proper way to do this?...

signInWithPassword with flutter throwing AuthException with code = null contrary to documentation

I'm currently facing the problem that signInWithPassword is throwing AuthException not according to what is documented at https://supabase.com/docs/guides/auth/debugging/error-codes For example in case of invalid credentials I get code = null and statusCode = 400. Therefore the behavior of signInWithPassword is unpredictable for me and i can't safely catch all cases. I'm using supabase_flutter 2.9.1 and flutter 3.32.8...
No description

is this a bug?

I am new to supabase and not entirely certain how things should work. I am researching Supabase Auth and trying to implement a simple signup worflow. 1. Backend system signs up user. 2. Backend system sends a email confirmation link (Magic Link). 3. User confirms the link in the email to complete validation and users can now login in on their own....

bad recommendation to update types on a schedule?

is it just me or it doesn't make much sense to suggest updating types on a schedule? usually one updates TS types when working on the database, and needs to get the result immediately I don't see any scenario where one updates the database, then waits until the next day for correct typing in the code...

1 supabase instance for each tenant?

I’d love to hear from anyone who’s actually done it—especially around: - Managing multiple Supabase Auth configs and keys - Running 4+ Supabase projects locally or in the cloud - CI/CD and migration strategies across multiple instances...

Please, I lost the password to my account, but when I try to recover it, I don't receive the confirm

Please, I lost the password to my account, but when I try to recover it, I don't receive the confirmation email in my Gmail.

Project inaccessible after restore failure – Support response time?

Hi everyone, has anyone experienced this issue or know how long Supabase support usually takes to respond in PRO plan? “Something went wrong while restoring your project Your project's data is intact, but your project is inaccessible due to the restoration failure. Please contact support for assistance.” ...

Need Assistance with Supabase Database Insert/Update Issue in Android SDK Integration

Hi team, I hope you're doing well. I'm currently working on integrating Supabase into my Android application. So far, I've successfully integrated the Supabase Auth SDK, and authentication is working smoothly. However, I'm facing a blocker when it comes to inserting or updating data in the Supabase database using the PostgREST API from the Android client. Specifically, I am encountering errors related to Row-Level Security (RLS) policies, and in some cases, I’ve also received a duplicate key value violates unique constraint error when inserting records into the call_logs table....
No description