# Postgres error 3D000: database "x" does not exist

> The connection names a database that is not on this server.

Source: https://scribase.com/postgres-errors/3d000

SQLSTATE class: Invalid Catalog Name. Over PostgREST/supabase-js this maps to HTTP 400.

## Causes

- A typo or the wrong database name in the connection string (many hosted services use postgres or a project-specific name).
- The database was dropped, or you are pointed at the wrong server or branch.

## Fixes

- List databases with \l in psql, connected to an existing one.
- Copy the connection string from the dashboard instead of building it by hand.