[Fixed] - Next.js remaining connection slots are reserved for non-replication superuser connections

I am frequently getting the above error.

Database: Supabase
Github: https://github.com/ShaikRehan123/questionPaperCreation

I recently shifted from prisma to drizzle, help appreciated.
GitHub
Contribute to ShaikRehan123/questionPaperCreation development by creating an account on GitHub.
Solution
Did you try to restart your Supabase instance? It happened to me sometime after a deploy on fly.io (with Remix, so we can agree it's not related to a specific platform/framework)
Was this page helpful?