Supabase

S

Supabase

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

Join

Can I access a table in a schema that is not exposed through a query

I want to access a table in a schema that is not exposed. Can I do that by creating a public session and then .schema(private) ?

Tiger DB

Any shot Tiger DB (Timescale DB) doesn't get thrown off the platform in the future?
No description

Switch to new database created

How can I switch to the new database that I have created in the UI of supabase using the SQL query
CREATE DATABASE LEARNING;
CREATE DATABASE LEARNING;
...

Use stripe-sync-engine with SSL

Hey folks, it seems like it's not possible to use stripe-sync-engine with SSL, at least there is no way to configure server certificates. Am I overlooking something?...

How to Mock Third-Party APIs in Supabase Edge Function Integration Tests?

My edge functions call third-party APIs like Stripe and Resend. For integration tests, I don’t want to hit real services—I need to mock or intercept these calls and control their responses. Supabase recommends using client.functions.invoke() for testing, but since edge functions run in isolated processes, I can’t mock dependencies at runtime. The best workaround I’ve found is to use dependency injection and an environment variable (e.g., ENV=test) to swap in fake SDKs, but this approach doesn’t allow me to tailor third-party responses for individual tests. ...

Auth providers in local Docker container

Is Web3 auth making it's way into the local docker container anytime soon?

Failed to load function code

Getting : Failed to load function code Unexpected token 'A', "An error o"... is not valid JSON...
No description

How to update OAuth Callback URL for Google Sign-In when it’s grayed out in Supabase?

Hi Supabase community, I’m currently using Supabase Auth with Google OAuth for my project. My current OAuth callback URL is set to EXAMPLE: https://auth.mysite.com/auth/v1/callback, but I need to change it to https://auth.myNewsite.com/auth/v1/callback because I’m switching my domain. The problem is that in the Supabase dashboard, the callback URL field is grayed out and not editable. I’ve attached a screenshot to show what I mean....

How to create a JWT for a specific user from an Edge Function?

Hi everyone, I’m trying to create an Edge Function in Supabase that can generate a JWT for a specific user (identified by user_id or email) so that it can be used for server-to-server requests. My use case: I want to build a feature where a user can schedule a task. The scheduled task will need to run with a valid JWT token on behalf of that user....

Not connecting to my database? Timeout error

First time using supabase. I dont understand why but i cant connect to my db. I don't think its the code since the command
nc -vz db.v.supabase.co 5432
nc -vz db.v.supabase.co 5432
yields me
nc: connect to db.v.supabase.co (7#.2##.1##.2##) port 5432 (tcp) failed: Connection timed out
nc: connect to db.v.supabase.co (7#.2##.1##.2##) port 5432 (tcp) failed: Connection timed out
No resrtcitions are applied to my db settings I have enforce ssl also turned off. ...

Problems with authentication on Supabase – 429 Too Many Requests

After updating our dependencies we suddenly started getting users being signed out, because apparently too many refresh_token requests are being sent. Our Setup: - Next.js 15.3 - @supabase/supabase-js 2.50.5...

How to reuse fetchers across environments

According to React Bulletproof, the API layer is easiest to manage when there's a single client that works on both the client and server. That way, fetcher functions can be reused across environments. I'm trying to do the same with Supabase, so is it possible to create one Supabase client that works in both the client and server environments? Thank you,...

KnexTimeoutError

Hi, I am trying to connect directus to supabase, but when I tried to run it I got, irectus-1 | KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? I am using docker for directus and supabase as the db...

400 bad request

Im getting an 400 bad request error whilst trying to use supabase in my code index.js:1 GET https://wqwvralnrvdqpoemfbaw.supabase.co/rest/v1/contracts?select=contract_id&order=contract_id.desc&limit=1 400 (Bad Request) (anonymous) @ index.js:1...
No description

Session Timeout

I'm trying to log into my supabase dashboard, and it my session times out. When I try to log in again, that also times out. If I refresh the page I appear to be logged in, until I try to open by dashbaord again and then I get the same message again that my session timed out.

Hey newbie here at supabase

this amount of rest quest its the "monthly users" from free plan?
No description

How to duplicate project?

Hey everyone! I have a Supabase project already in production, and I’m currently finalizing a partnership agreement. For that reason, I need to duplicate the entire project — including the database schema, data, storage, auth policies, and functions — so that each co-founder can have an independent copy of the system. I know there’s no native “duplicate project” button, but has anyone here already gone through this or created a script/workflow using Supabase CLI, pg_dump, etc. to fully clone a Supabase project?...

GitHub Account Related to Supabase was suspended

I am one of developers who love to use Supabase. A few days ago, my github account was suspended suddenly. I contacted github support but they haven't replied yet. Furthermore, I cannot login supabase because of this. I have some important projects there and I want to login with email....

Remote Project To Local

Hello Guys I am currently having a remote project i need to run lcoally can i create complete pull for the project including the configuratiosn i previously created manually from the dashboard like confirmation mails template?
No description