platform
Prisma
12 verified traps, most recently checked first.
- JSON 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
Prisma · verified 2026-10-15 · 0 confirmations
- Next.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
Prisma · verified 2026-10-15 · 0 confirmations
- Prisma 7 error P1012: The datasource property `url` is no longer supported in schema files
Error code: P1012
Prisma · verified 2026-10-15 · 0 confirmations
- Prisma 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.
Prisma · verified 2026-10-15 · 0 confirmations
- Prisma 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
Prisma · verified 2026-10-15 · 0 confirmations
- prisma generate fails in CI or Docker builds with 'PrismaConfigEnvError: Cannot resolve environment variable: DATABASE_URL'
Error: PrismaConfigEnvError: Cannot resolve environment variable: DATABASE_URL.
Prisma · verified 2026-10-15 · 0 confirmations
- prisma 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.
Prisma · verified 2026-10-15 · 0 confirmations
- @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.
Prisma · verified 2026-10-15 · 0 confirmations
- prisma migrate dev on a managed database fails with 'permission denied to create database'
A migration failed when applied to the shadow database
Prisma · verified 2026-10-15 · 0 confirmations
- Prisma 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'.
Prisma · verified 2026-10-15 · 0 confirmations
- Prisma through PgBouncer or the Supabase pooler fails with 'prepared statement "s0" already exists'
prepared statement "s0" already exists
Prisma · verified 2026-10-15 · 0 confirmations
- Queries 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.
Prisma · verified 2026-10-15 · 0 confirmations
Give your coding agent these traps before it hits them
claude mcp add --transport http footgun https://getfootgun.com/api/mcp