Supabase

S

Supabase

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

Join

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

Do we have to ask for Email in Discord Login?

I am a discord bot developer. While developing a website for it, i wanted to use it in the login system while using Supabase as a ready database. However, when i remove the email request from the scopes, supabase always gives an error because there is no email. Is there any way to solve this problem? I don't want to ask my users for an email and i don't want them to have even the slightest suspicion. I also don't need it

Signed urls with api call

I am making an api call for a table called "post". the post table has a column called "media" which is list of file urls. however, the file url bucket is private. so I would need to sign the urls first and then get them. i have this function but it is not working. what should i do? thanks ...

Error when accepting invite to join organization: “Failed to retrieve token / Failed to retrieve org

I received an email invite to join a Supabase organization (a dev team created by my collaborator). I'm trying to accept the invite and join the org via the invite link. When I click the invite link I hait the following error: Failed to retrieve token Error: Failed to retrieve organization...

Restore database

Can I restore database on free plan? I accidently deleted my database...

Custom JWT (ES256) works with Realtime but fails on Storage API

I'm minting my own JWTs using ES256 (elliptic curve) with a private key for my Supabase project. The tokens work perfectly with: - ✅ PostgREST/Database queries - ✅ Realtime subscriptions - ✅ RLS policies using auth.jwt()...

Edge function isn't called by CRON

Hi i'am trying to call edge function via CRON but nothing happening, cron request status is succeed, function by itself is working i called it by postman, have you any ideas where the problem can be?

Cannot connect to database on port 5432 – P1001 error and psql connection closed unexpectedly

I’m trying to run Prisma migrations and connect to my Supabase Postgres database, but the direct connection (port 5432) is failing consistently with the following error:
psql: error: connection to server at "aws-0-us-west-1.pooler.supabase.com" (52.8.172.168), port 5432 failed: server closed the connection unexpectedly
psql: error: connection to server at "aws-0-us-west-1.pooler.supabase.com" (52.8.172.168), port 5432 failed: server closed the connection unexpectedly
This probably means the server terminated abnormally before or while processing the request....

onAuthStateChange not triggered when using server-side signIn/signOut in Next.js with Supabase

When using the Supabase server client (from @supabase/ssr) to call signIn or signOut inside a Next.js server actions, the auth state changes are not detected on the browser client (createBrowserClient()). even using router.refrech()

Where do I put shared code in Edge Function?

Is it possible to add a _shared folder and define a file in there that is used across other functions? And have them imported like it that? import { validateAppleCertificateChain, hasValidCertificateStructure } from '../_shared/apple-certificate-validator.ts'; ...

Clerk and Supabase Storage - UUID issue

I see a closed post from a year ago but I am facing the same issue. Using the new Clerk integration for 3rd party auth. Works fine for all database actions...

Issue with signup on platform

Hello I just don't get an email for verification of my account, and I'm not able to access the invitation from the client. How can I solve this issue?...

Github Integration with IP Restriction GIthub Org

Hi, I tried to integrate my GitHub repository with Supabase, but when I checked for repositories, no repositories were listed. Can anyone help me with it?...

How should you structure the API layer in a Next.js project?

Suppose you have a server-side fetcher function and a client-side fetcher used in a React swr hook, both used on the same page. How should you organize these functions within your api folder to keep things clean and maintainable? I want to do something similar to React Bulletproof...

supabase new jwt signing keys

I have a question regarding the new supabase jwt signing keys after saw the video on youtube. Is the new function getClaims available also for flutter or this new function is available only in nextjs?