platform
Prisma
13 verified traps, most recently checked first. Also as a list with each fix: Prisma breaking changes.
- fg-0583PrismaVerified Nov 2026A new PrismaClient in each route or function opens its own connection pool and runs the database out of connections under real traffic
Requests fail with too many connections or connection pool timeout errors once more than a handful of people use the app
verified 2026-11-05 · 0 confirmations
- fg-0290PrismaVerified Oct 2026@prisma/adapter-pg ignores ?schema= in the connection URL and queries the public schema
The table `public.Item` does not exist in the current database.
verified 2026-10-15 · 0 confirmations
- fg-0291PrismaVerified Oct 2026prisma generate fails in CI or Docker builds with 'PrismaConfigEnvError: Cannot resolve environment variable: DATABASE_URL'
Error: PrismaConfigEnvError: Cannot resolve environment variable: DATABASE_URL.
verified 2026-10-15 · 0 confirmations
- fg-0295PrismaVerified Oct 2026Prisma through PgBouncer or the Supabase pooler fails with 'prepared statement "s0" already exists'
prepared statement "s0" already exists
verified 2026-10-15 · 0 confirmations
- fg-0296PrismaVerified Oct 2026Queries hang or fail with 'Unable to start a transaction in the given time' after moving Prisma to driver adapters
Transaction API error: Unable to start a transaction in the given time.
verified 2026-10-15 · 0 confirmations
- fg-0284PrismaVerified Oct 2026JSON responses with Prisma results throw 'Do not know how to serialize a BigInt' or turn Decimals into strings
TypeError: Do not know how to serialize a BigInt
verified 2026-10-15 · 0 confirmations
- fg-0288PrismaVerified Oct 2026Prisma 7: 'PrismaClient was instantiated without any options. A driver adapter is required'
PrismaClient was instantiated without any options. A driver adapter is required to connect to your database.
verified 2026-10-15 · 0 confirmations
- fg-0285PrismaVerified Oct 2026Next.js dev server runs out of database connections because each hot reload creates a new PrismaClient
FATAL: sorry, too many clients already while running next dev
verified 2026-10-15 · 0 confirmations
- fg-0289PrismaVerified Oct 2026Prisma 7 with @prisma/adapter-pg fails with P1010 or a certificate error on a database that worked with Prisma 6
P1010: User was denied access on the database
verified 2026-10-15 · 0 confirmations
- fg-0292PrismaVerified Oct 2026prisma migrate dev in CI or against a shared database detects drift and wants to reset the schema
Drift detected: Your database schema is not in sync with your migration history.
verified 2026-10-15 · 0 confirmations
- fg-0293PrismaVerified Oct 2026prisma migrate dev on a managed database fails with 'permission denied to create database'
A migration failed when applied to the shadow database
verified 2026-10-15 · 0 confirmations
- fg-0286PrismaVerified Oct 2026Prisma 7 error P1012: The datasource property `url` is no longer supported in schema files
Error code: P1012
verified 2026-10-15 · 0 confirmations
- fg-0294PrismaVerified Oct 2026Prisma rejects null for a Json field: Type 'null' is not assignable to type 'NullableJsonNullValueInput | InputJsonValue'
Type 'null' is not assignable to type 'NullableJsonNullValueInput | InputJsonValue | undefined'.
verified 2026-10-15 · 0 confirmations
Give your coding agent these traps before it hits them