Vercel does not access database in Supabase

Deployment URL or Custom Domain:
Environment (local, preview, production):
Project Framework:
Build Settings:
  Framework Preset:
  Build Command (if not default):
  Output Directory (if not default):
  Install Command (if not default):
Node/Runtime Version:
Package Manager:
Relevant Packages:

Hey! I hope you are doing good. Can you help with some more details?
Also as a bonus,

  • Ensure that all necessary environment variables are set
  • Verify that your Supabase instance allows requests from your Vercel deployment URLs
  • Very minute detail but - ensure that all packages required to connect to Supabase are properly installed and up-to-date.
  • You can also check Vercel’s deployment logs and Supabase logs for any error messages or connection issues.
    Thanks!
3 Likes

@maprado
Welcome to the Vercel community! To get started, could you confirm if the Supabase database is accessible through another tool, such as PgAdmin?

The issue may be due to a misconfiguration or unset environment variables. You may find this article helpful, as it explains each step in detail: Vercel | Works With Supabase.

Please let us know if this resolves the issue, or if you need further assistance.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.